12 July 2012


If you try to change the "name" ldap attribute of an Active Directory object using the Set-ADUser / Set-ADComputer or any other comdlet that can modify object properties you will get an error message like this:

Set-ADUser : The attribute cannot be modified because it is owned by the system

In order to chnage the "name" ldap attribute use the Rename-ADObject cmdlet.

Example: Rename-ADObject -Identity $user -NewName $newName

No comments:

Post a Comment