Uninstall-AdcsCertificationAuthority
Uninstalls the Certification Authority (CA) role service and removes its configuration information.
Syntax
Uninstall-AdcsCertificationAuthority
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Uninstall-AdcsCertificationAuthority cmdlet removes the Active CA role and removes its configuration information.
Examples
-------------------------- EXAMPLE 1 --------------------------
C:\PS>Uninstall-AdcsCertificationAuthority -force
Description
This command removes the Active Directory Certification Authority role service and does not prompt for user confirmation.
Parameters
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
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: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
Microsoft.CertificateServices.Deployment.Commands.CA.CertificationAuthoritySetupResult
Notes
- To uninstall the CA role service, ensure you run PowerShell as an administrator. You can run the command with the -f 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