question

AkGupta-5504 avatar image
0 Votes"
AkGupta-5504 asked RichMatheisen-8856 commented

Powershell command for Ad

Import-Csv "C:\scri\Level Grade.csv" | foreach {Set-ADUser -Identity $.SamAccountName -Description $.description –Title $.Title -Department $.Department -extensionAttribute3 $.extensionAttribute3 -extensionAttribute4 $.extensionAttribute4 -physicalDeliveryOfficeName $_.physicalDeliveryOfficeName}
176356-untitled.png


windows-server-powershell
untitled.png (119.6 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Is there a question here?

FYI, there is no parameter named extensionAttribute3 or extensionAttribute4 on the Set-ADUser cmdlet. There are, however, Add, Remove, and Replace parameters.

set-aduser


It looks like you'd be better off using one of the Exchange cmdlets that do allow the use of extension attribute parameters.


0 Votes 0 ·

0 Answers