Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Uninstall-AdcsCertificationAuthority

Brian Lich|Last Updated: 3/26/2017

SYNOPSIS

Uninstalls the CA role service and removes the configuration information.

SYNTAX

Uninstall-AdcsCertificationAuthority [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

The Uninstall-AdcsCertificationAuthority cmdlet removes the Active certificate authority (CA) role and removes the configuration information.

EXAMPLES

Example 1: Uninstall the Active Directory CA role service

PS C:\> Uninstall-AdcsCertificationAuthority -Force

This command uninstalls 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
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None

OUTPUTS

Microsoft.CertificateServices.Deployment.Commands.CA.CertificationAuthoritySetupResult

NOTES

  • To uninstall the CA role service, ensure you run Windows PowerShell as an administrator. You can run the command with the Force parameter to bypass the prompt for confirmation.

Install-AdcsCertificationAuthority

© 2017 Microsoft