![]() The Move-ADObject cmdlet can be used to move a computer object from one domain to another within the AD forest. Go to the Attribute Editor tab, double click the distinguishedName attribute, and copy the attribute value to the clipboard. You can copy the OU’s distinguishedName (DN) from the OU properties in the ADUC console. Get-ADComputer “ny-pc-b32-23” |Move-ADObject -TargetPath "OU=Computers,OU= Florida,OU=USA,DC=theitbros,DC=com" -VerboseĪs you can see, the command syntax has become much simpler. This cmdlet allows you to find a computer object in the AD domain by its hostname. In order not to specify the full LDAP path to the source object when moving the computer, you can use the Get-ADComputer cmdlet. ![]() Move-ADObject : Cannot find an object with identity
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |