Unjoin Domain
Unjoins the computer from Active Directory domain.
Parameters
Section titled “Parameters”Domain User Name
Section titled “Domain User Name”Required
Domain account with permission to unjoin the computer from domain. Ex. CONTOSO\Administrator
Password
Section titled “Password”Required
Password for the domain account.
Allow Reboot
Section titled “Allow Reboot”Optional — Default: True
Enable to reboot the workstation after successful domain unjoin. Disable to continue without rebooting.
Details
Section titled “Details”- Category: Provisioning
- Brick ID:
AD-UnjoinDomain
Raw JSON definition
Section titled “Raw JSON definition”{ "category": "provisioning", "description": "Unjoins the computer from Active Directory domain.", "developerVendor": "CapaSystems A/S", "displayName": null, "id": "AD-UnjoinDomain", "name": "Unjoin Domain", "parameters": [ { "defaultValue": "", "defaultValueObject": null, "description": "Domain account with permission to unjoin the computer from domain. Ex. CONTOSO\\Administrator", "id": "UserName", "name": "Domain User Name", "regExValidation": "", "required": true, "type": "TextBox", "value": null, "values": [], "valuesObject": null }, { "defaultValue": "", "defaultValueObject": null, "description": "Password for the domain account.", "id": "Base64Password", "name": "Password", "regExValidation": "", "required": true, "type": "TextBoxWithPassword", "value": null, "values": [], "valuesObject": null }, { "defaultValue": "True", "defaultValueObject": null, "description": "Enable to reboot the workstation after successful domain unjoin. Disable to continue without rebooting.", "id": "AllowReboot", "name": "Allow Reboot", "regExValidation": "", "required": false, "type": "Boolean", "value": null, "values": [], "valuesObject": null } ], "powershell": { "base64Encoded": true, "function": "ZnVuY3Rpb2..." }, "type": "powerbrick", "version": "2026.7.2.1"}