Uninstall-Adcs
Web
Enrollment
Syntax
Uninstall-AdcsWebEnrollment
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Uninstall-AdcsWebEnrollment cmdlet removes the Certification Authority (CA) Web Enrollment role service.
Examples
Example 1: Uninstall the CA Web Enrollment role service
PS C:\> Uninstall-AdcsWebEnrollment -Force
This command uninstalls the CA Web Enrollment role service without requiring confirmation.
Optional Parameters
Prompts you for confirmation before running the cmdlet.
| Type: | SwitchParameter |
| Aliases: | cf |
| Position: | Named |
| Default value: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Forces the command to run without asking for user confirmation.
| Type: | SwitchParameter |
| Position: | Named |
| Default value: | None |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
| Type: | SwitchParameter |
| Aliases: | wi |
| Position: | Named |
| Default value: | False |
| Accept pipeline input: | False |
| Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.CertificateServices.Deployment.Commands.WebEnrollment.WebEnrollmentResult
Notes
- Ensure you run Windows PowerShell as an administrator. You can use the Force parameter to bypass the prompt for confirmation.