Active Directory Script – update all AD names to match DisplayName

Get-ADUser -Filter * -searchbase “OU LOCATION” -Property DisplayName | %{
$_ | Rename-ADObject -NewName $_.DisplayName
}

If the CN object in Active Directory does not match the DisplayName then use the above script