Rename AD User using PowerShell

If you are looking for renaming an AD User attributes like the “name”, you may be interested in this article. Of course, you can customize the command line to change other attribute like the “DisplayName” or another one.

Before doing any change, check the AD User name you want to rename

To check it with PowerShell, use the below command line

<code>Get-ADUser "Tameka Reed" | fl name</code>

Now rename the account with the following command line

<code>Get-ADUser "Tameka Reed" | Rename-ADObject -NewName "Tameka Reed New"</code>

How to check that your change worked ?

<code>Get-ADUser "Tameka Reed" | fl name</code>

In management console Active Directory Users and Computers

One thought on “Rename AD User using PowerShell

Add yours

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: