hi,
I am also getting same below error.
The term 'Set-ADUser$_.distinguishedName' is not recognized as the name of a cmdlet, function, script file, or opeprogram. Check the spelling of the name, or if a path was included, verify that the path is correct and try again
At line:1 char:72
+ Import-Csv -Path c:\Phone.csv | ForEach {Set-ADUser$_.distinguishedName <<<< -mobilePhone $_.mobile -OfficePhon
elephoneNumber}
+ CategoryInfo : ObjectNotFound: (Set-ADUser$_.distinguishedName:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\>
I had run import-module active directory
Kindly advisse