Renames an Active Directory computer account.
Set objNewOU = GetObject("LDAP://OU=Finance,DC=fabrikam,DC=com")Set objMoveComputer = objNewOU.MoveHere _("LDAP://CN=atl-pro-037,OU=Finance,DC=fabrikam,DC=com", _"CN=atl-pro-003")
This is a VB Script, this can be used by saving the file in .vbs file