$Login = Get-ADuser $Name | Set-ADUser -EmailAddress $Email -MobilePhone $Phone -Company $Organization -Title $JobTitle -PassThru | Move-ADObject -TargetPath $path
заменить на:
Код:

$User = Get-ADuser $Name
if($User) {
if($ipphone) {
Set-ADUser $User -Replace @{"ipphone" = $ipphone}
}
Set-ADUser $User -EmailAddress $Email -MobilePhone $Phone -Company $Organization -Title $JobTitle -PassThru | Move-ADObject -TargetPath $path
}