AD DS Deployment Cmdlets in Windows PowerShell
This topic contains brief descriptions of the Windows PowerShell® cmdlets that are for use in deploying Active Directory Domain Services (AD DS) in Windows Server® 2012. Each cmdlet in the table is linked to additional information about that cmdlet.
AD DS Deployment Cmdlets (in verb order)
The following table contains the names and a brief description of each ADDSDeployment cmdlet.
Cmdlet | Description |
---|---|
Creates a read-only domain controller (RODC) account that can be used to install an RODC in Active Directory. |
|
Installs a new Active Directory domain configuration. |
|
Installs a domain controller in Active Directory. |
|
Installs a new Active Directory forest configuration. |
|
Runs the prerequisites (only) for installing a domain controller in Active Directory. |
|
Runs the prerequisites (only) for uninstalling a domain controller in Active Directory. |
|
Runs the prerequisites (only) for installing a new Active Directory domain configuration. |
|
Runs the prerequisites (only) for installing a new forest in Active Directory. |
|
Runs the prerequisites (only) for adding a read-only domain controller (RODC) account. |
|
Uninstalls a domain controller in Active Directory. |
Tipp
You can import and display the cmdlets by running the following commands from Windows PowerShell. You need only run the Add-WindowsFeature for the specific server role that you would like to add.
- Import-Module ServerManager – Imports the Server Manager module that provides the Add-WindowsFeature cmdlet.
- Add-WindowsFeature AD-Domain-Services – Adds the Active Directory Domain Services binaries.
- Import-Module ADDSDeployment – Imports the AD DS Deployment module that provides the above cmdlets.
- Get-Command -Module ADDSDeployment – Displays all the above cmdlets that are associated with AD DS Deployment.