Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, March 18, 2019 7:01 PM
Hi,
I have 400+ AD users, Could anyone please provide a script to update/rename all the CN name for them.
Shekar-Technet
All replies (3)
Monday, March 18, 2019 7:03 PM
Hello,
Please chek the following link from TechNet.
https://gallery.technet.microsoft.com/scriptcenter/RENAME-AN-ACTIVE-DIRECTORY-47e79efb
Mark it as answer if your question has solved. MCT Regional Lead. x2 MCSE-MCSA Exchange Server & Windows Server
Monday, March 18, 2019 7:57 PM
Please carefully review the following links to set your expectation for posting in technical forums.
This Forum is for Scripting Questions Rather than script requests |
|
Microsoft Virtual Academy - Getting Started with Microsoft PowerShell |
|
\(ツ)_/
Monday, March 18, 2019 10:39 PM
You can use Rename-ADObject and Set-ADUser cmdlets to do it. It depends how you will import the new names but if it is from a CSV you can use import-CSV cmdlet as well.
This posting is provided AS IS with no warranties or guarantees , and confers no rights.
Ahmed MALEK