Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Replace CN attribute with displayName content

$
0
0

I have a number of AD users that have the first initial, last name (asmith) value in the cn field. I want to copy what is in the displayName field (Alford Smith) in to the cn field. I can change this manually in ADSI Edit but there are hundreds of them. Not to savy with powershell yet.

Any suggestions?

 

Thanks,

Ron


Viewing all articles
Browse latest Browse all 6937

Trending Articles