API Reference
Command
Enable-ADXComputer
Enables an Active Directory computer account.
Examples
Example 1: Preview re-enabling a rebuilt workstation account
Enable-ADXComputer -Identity 'WS-KRK-102$' -Domain 'contoso.com' -WhatIf
Example 2: Enable a pre-staged server account before domain join
Enable-ADXComputer -Identity 'srv-rds-05$' -Domain 'contoso.com'
Common Parameters
This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.
For more information, see about_CommonParameters.
Syntax
Enable-ADXComputer -Identity <string> [-Domain <string>] [<CommonParameters>]#Parameters
- Identity string
- Gets or sets computer identity (sAMAccountName, dNSHostName, DN, or name).
- Domain string
- Gets or sets the optional domain DNS name.
Outputs
ADPlayground.DirectoryMutationResult