Reset a Computer Account Password

Resets a computer account password in Active Directory.

VBScript Code


Set objComputer = GetObject _
    ("LDAP://CN=atl-dc-01,CN=Computers,DC=Reskit,DC=COM")

objComputer.SetPassword "atl-dc-01$"