Uninstall-AdcsEnrollmentPolicyWebService
Uninstall-AdcsEnrollmentPolicyWebService is accessible with the help of ADCSDeployment module. To install ADCSDeployment on your system please refer to this link.
Uninstalls the Certificate Enrollment Policy Web service.
The Uninstall-AdcsEnrollmentPolicyWebService cmdlet uninstalls the Certificate Enrollment Policy Web Service.
-AllPolicyServers
Uninstall all instances of the Certificate Enrollment Policy (CEP) Web Service.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-AuthenticationType <AuthenticationType>
Specifies the authentication type for the Certificate Enrollment Policy (CEP) Web Service instance to be uninstalled when multiple instances are present.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Force <SwitchParameter>
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-KeyBasedRenewal <SwitchParameter>
Specifies the instance of the Certificate Enrollment Policy Web Service running in key-based renewal mode to be uninstalled. This parameter is optional. It is used to distinguish which instance of the Certificate Enrollment Policy Web Service is to be uninstalled if there are multiple instances that use the same authentication type. If this option is not specified, the instance of the Certificate Enrollment Policy Web Service that is using the defined AuthenticationType that is not enabled for KeyBasedRenewal mode is uninstalled.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
Uninstall-AdcsEnrollmentPolicyWebService [-Force ] [-KeyBasedRenewal ] -AuthenticationType []
Uninstall-AdcsEnrollmentPolicyWebService [-AllPolicyServers ] [-Force ] [<CommonParameters>]
Ensure you run Windows PowerShell as an administrator. You can use the -force switch to bypass the prompt for confirmation.
C:\PS>Uninstall-AdcsEnrollmentPolicyWebService -AllPolicyServers -force
This command removes all configurations in the Certificate Enrollment Policy Web Service without prompting for confirmation.
C:\PS>Uninstall-AdcsEnrollmentPolicyWebService –AuthenticationType Certificate –KeyBasedRenewal -force
This command removes the instance of Certificate Enrollment Policy Web Service that is utilizing certificate authentication and is in key-based renewal mode without prompting for confirmation.
Get-Command Uninstall-AdcsEnrollmentPolicyWebService
Install-AdcsEnrollmentPolicyWebService