Skip to main content

Local Machine - Domain - Remove

Summary​

The script attempts to remove a computer from the domain it is currently connected to. Once the computer has been removed, the script will force a reboot and validate that it is no longer connected to the domain.

Sample Run​

Sample Run

Password Location

Dependencies​

  • Will only run on Windows computers that are currently domain joined

User Parameters​

NameExampleRequiredDescription
DomainPasswordtitleDomain AdminTrueTitle of the Domain Admin password saved in Automate.

Output​

  • Script log

Changelog​

2025-04-15​

  • Initial version of the document