Answered by:
Add value to "adminDisplayName" attribute

Question
-
Hi,
We have a new requirement to update “adminDisplayName” and match users FirstName & LastName with HR system. Have about 5000 users to update.
Trying to update with PS but it seems AD PS module provides an option.
Any suggestions?Thanks
Thursday, August 17, 2017 12:18 AM
Answers
-
Set-ADuser Vincent -Add @{AdminDisplayName = 'Administrator'}
- Proposed as answer by strongline Wednesday, October 18, 2017 5:27 PM
- Marked as answer by jrv Wednesday, October 18, 2017 5:29 PM
Thursday, August 17, 2017 6:45 AM
All replies
-
There is no "adminDisplayName" attribute.
What option do you think the PS module provides? You have failed to post accurate information so we cannot guess at what you are asking.
\_(ツ)_/
Thursday, August 17, 2017 12:29 AM -
sorry meant the AD module doesn't seem to provide an option to write/update the value
I can write manually using the Attribute Editor and see the value with Get-ADUser
Thursday, August 17, 2017 1:45 AM -
Set-ADuser Vincent -Add @{AdminDisplayName = 'Administrator'}
- Proposed as answer by strongline Wednesday, October 18, 2017 5:27 PM
- Marked as answer by jrv Wednesday, October 18, 2017 5:29 PM
Thursday, August 17, 2017 6:45 AM -
-
WTH? you don't vote your own post that says "thanks" as answer. Vincent's post is your answer.Wednesday, October 18, 2017 5:26 PM