Delete AD Computer

Deletes a computer from Active Directory.

Privileges

Normal

Input Parameters

Name Type Required Description
Computer Name String Yes The name of the computer to delete.
Computer DistinguishedName String Yes  
Domain String Yes

The name of the domain to retrieve the domain controllers. For example:

  • DC=California
  • DC=local

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
Computer Name String Yes Device123
Computer DistinguishedName String Yes  
Domain String Yes Abc.com