Quantcast
Channel: Directory Services forum
Viewing all articles
Browse latest Browse all 31638

Set-aduser$ error

$
0
0

HI,

I am getting below error message when i run below command

PS C:\> Import-Csv -Path c:\Phone.csv | ForEach {Set-ADUser$_.distinguishedName -mobilePhone $_.mobile -OfficePhone$_.telephoneNumber}

Error:

PS C:\> Import-Csv -Path c:\Phone.csv | ForEach {Set-ADUser$_.distinguishedName -mob

The term 'Set-ADUser$_.distinguishedName' is not recognized as the name of a cmdlet,

I am running this command on Powershell in wINDOWS 2K8 SERVER. I have already run module-import Active directory on PS.

Kindly advise


Viewing all articles
Browse latest Browse all 31638

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>