Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

AD DS Deployment Cmdlets

Windows Server 2012 R2 and Windows 8.1

Updated: March 26, 2014

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

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

Add-ADDSReadOnlyDomainControllerAccount

Creates a read-only domain controller (RODC) account that can be used to install an RODC in Active Directory.

Install-ADDSDomain

Installs a new Active Directory domain configuration.

Install-ADDSDomainController

Installs a domain controller in Active Directory.

Install-ADDSForest

Installs a new Active Directory forest configuration.

Test-ADDSDomainControllerInstallation

Runs the prerequisites (only) for installing a domain controller in Active Directory.

Test-ADDSDomainControllerUninstallation

Runs the prerequisites (only) for uninstalling a domain controller in Active Directory.

Test-ADDSDomainInstallation

Runs the prerequisites (only) for installing a new Active Directory domain configuration.

Test-ADDSForestInstallation

Runs the prerequisites (only) for installing a new forest in Active Directory.

Test-ADDSReadOnlyDomainControllerAccountCreation

Runs the prerequisites (only) for adding a read-only domain controller (RODC) account.

Uninstall-ADDSDomainController

Uninstalls a domain controller in Active Directory.

TipTip
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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.