Attempting to Extend Users in AD w/ Powershell, please help

Hello All,

I am attempting to load this script in Powershell to extend 50+ users in AD and it appears the code is going through with no errors, but the test user is not updating.  Any assistance would be great

function Setup
{
Import-Module ActiveDirectory
$global:path = $pwd
$global:server = "kmhp.com"
$Userfile="extend-contractor.csv"
}

function ExtendUser
{
$List = Import-csv "$path\$Userfile"
ForEach ($User in $List)
{
# Set the expiration date for 90 days into the future
Get -ADUser $User.SamAccountName | Set-ADAccountExpiration -TimeSpan (New-TimeSpan -Days 90)
}
}