Uninstall-AdcsEnrollmentPolicyWebService
Uninstalls the Certificate Enrollment Policy Web service.
Syntax
Uninstall-AdcsEnrollmentPolicyWebService
-AuthenticationType <AuthenticationType>
[-KeyBasedRenewal]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Uninstall-AdcsEnrollmentPolicyWebService
[-AllPolicyServers]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Uninstall-AdcsEnrollmentPolicyWebService cmdlet uninstalls the Certificate Enrollment Policy Web Service.
Examples
-------------------------- EXAMPLE 1 --------------------------
C:\PS>Uninstall-AdcsEnrollmentPolicyWebService -AllPolicyServers -force
Description
This command removes all configurations in the Certificate Enrollment Policy Web Service without prompting for confirmation.
-------------------------- EXAMPLE 2 --------------------------
C:\PS>Uninstall-AdcsEnrollmentPolicyWebService -AuthenticationType Certificate -KeyBasedRenewal -force
Description
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.
Parameters
-AllPolicyServers
Uninstall all instances of the Certificate Enrollment Policy (CEP) Web Service.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AuthenticationType
Specifies the authentication type for the Certificate Enrollment Policy (CEP) Web Service instance to be uninstalled when multiple instances are present.
Type: | AuthenticationType |
Accepted values: | Kerberos, UserName, Certificate |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-KeyBasedRenewal
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.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
bool, enum, bool
Outputs
Microsoft.CertificateServices.Deployment.Commands.CEP.EnrollmentPolicyServiceResult
Notes
- Ensure you run Windows PowerShell as an administrator. You can use the -force switch to bypass the prompt for confirmation.
Related Links
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for