AD CS Deployment Cmdlets in Windows PowerShell

Applies To: Windows Server 2012

This topic contains brief descriptions of the Windows PowerShell® cmdlets that are for use in deploying Active Directory Certificate Services (AD CS). Each cmdlet in the table is linked to additional information about that cmdlet.

AD CS Deployment Cmdlets (in verb order)

The following table contains the names and a brief description of each ADCSDeployment cmdlet.

Cmdlet Description

Install-AdcsCertificationAuthority

Performs the configuration of the Certification Authority role service.

Install-AdcsEnrollmentPolicyWebService

Performs the configuration of Certificate Enrollment Policy Web role service.

Install-AdcsEnrollmentWebService

Performs the configuration of the Certificate Enrollment Web role service.

Install-AdcsNetworkDeviceEnrollmentService

Performs the configuration of the Network Device Enrollment Service.

Install-AdcsOnlineResponder

Performs the configuration of the Online Responder role service.

Install-AdcsWebEnrollment

Performs the configuration of Certification Authority Web Enrollment role service.

Uninstall-AdcsCertificationAuthority

Removes the configuration information for the Certification Authority (CA) role service.

Uninstall-AdcsEnrollmentPolicyWebService

Removes the configuration information for Certificate Enrollment Policy Web role service.

Uninstall-AdcsEnrollmentWebService

Removes the configuration information for Certificate Enrollment Web role service or individual instances of it.

Uninstall-AdcsNetworkDeviceEnrollmentService

Removes the configuration information for the Network Device Enrollment role service.

Uninstall-AdcsOnlineResponder

Removes the configuration information for the Online Responder role service.

Uninstall-AdcsWebEnrollment

Removes the configuration information for the Certification Authority (CA) Web Enrollment role service.

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 servce that you would like to add.

  • Import-Module ServerManager – Imports the Server Manager module that provides the Add-WindowsFeature cmdlet.

  • Add-WindowsFeature Adcs-Cert-Authority – Adds the Certification Authority role service binaries.

    Tip

    To include the Certification Authority and Certificate Templates console, add -IncludeManagementTools to the command.

  • Add-WindowsFeature Adcs-Enroll-Web-Pol – Adds the Certificate Enrllment Policy Web Service binaries.

  • Add-WindowsFeature Adcs-Enroll-Web-Svc – Adds the Certificate Enrollment Web Service binaries.

  • Add-WindowsFeature Adcs-Web-Enrollment – Adds the Certification Authority Web Enrollment role service binaries.

  • Add-WindowsFeature Adcs-Device-Enrollment – Adds the Network Device Enrollment Service binaries.

  • Add-WindowsFeature Adcs-Online-Cert – Adds the Online Responder role service binaries.

  • Get-Command -Module AdcsDeployment – Displays all the cmdlets that are associated with AD CS Deployment.

See Also

Reference

CA