Tag: AD

  • Moving AD Computer Object with Powershell

    Moving AD Computer Object with Powershell

    Moving AD Computer Object with Powershell A computer object in powershell is represented by TypeName: Microsoft.ActiveDirectory.Management.ADComputer.ADComputer has a property “DistinguishedName”. At time of writing this Microsoft.ActiveDirectory.Management.ADComputer has no methods to change this value. Use Move-ADObject to change its location in AD. An AD Orginizational Unit is represented byTypeName: Microsoft.ActiveDirectory.Management.ADOrganizationalUnit.It has a property of “DistinguishedName” Using…