' Rename a Computer AccountSet 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") search for scripts
' Rename a Computer AccountSet 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")
Download Home Scripts Copyright © 2001-2024 adersοft