Relative Content

Tag Archive for active-directory

How to change the distinguishedName attribute for computer object in AD

how can i change the “distinguishedName” attribute of a computer object in ad using powershell. I used the command: Set-ADComputer -Identity WIN10 -Replace@{“distinguishedName”=”CN=win10,OU=AADDC Computers,DC=gowilsonsgroup,DC=com”} but got the error as the assignment expression is not valid.