Directory Admin
PowerShell / Azure / Active Directory / Windows Server / Security and more ...
Monday, June 19, 2017
Powershell: Set AD User "Name" with givenname and surname (it´s the Name that is displayed in ADUC)
Some guys mix up Name with Displayname. So with this command we will change the name you see in ADUC.
Get-aduser tbuntrock -Properties * | foreach { Rename-ADObject $_ -newname ($_.givenname + " " + $_.sn)}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment