Unjoin Domain

Removes a computer from a domain.



Input Parameters

No input parameters required.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.
Result String String Details of any execution errors with this Object.

Remember to clean up the computer object in Active Directory.