Uninstall-AdcsCertificationAuthority

Uninstall-AdcsCertificationAuthority is accessible with the help of ADCSDeployment module. To install ADCSDeployment on your system please refer to this link.

Synopsis
Uninstalls the Certification Authority (CA) role service and removes its configuration information.

Description
The Uninstall-AdcsCertificationAuthority cmdlet removes the Active CA role and removes its configuration information.

Parameters

-Force 

    Required?                    false
    Position?                    named
    Default value                
    Accept pipeline input?       false
    Accept wildcard characters?  false

-Confirm <SwitchParameter>
    Prompts you for confirmation before running the cmdlet.

    Required?                    false
    Position?                    named
    Default value                false
    Accept pipeline input?       false
    Accept wildcard characters?  false

-WhatIf <SwitchParameter>
    Shows what would happen if the cmdlet runs. The cmdlet is not run.

    Required?                    false
    Position?                    named
    Default value                false
    Accept pipeline input?       false
    Accept wildcard characters?  false

Syntax

      Uninstall-AdcsCertificationAuthority [-Force ] [-Confirm ] [-WhatIf ] [] 

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.

————————– EXAMPLE 1 ————————–
C:\PS>Uninstall-AdcsCertificationAuthority -force
This command removes the Active Directory Certification Authority role service and does not prompt for user confirmation.

If you just give the command “Uninstall-AdcsCertificationAuthority” you will get below pop-up for installing ADCS Certification Authority.

Uninstall-AdcsCertificationAuthority powershell script command cmdlet

You can check the Version, CommandType and Source of this cmdlet by giving below command.

Get-Command Uninstall-AdcsCertificationAuthority

You can also read about
Install-AdcsCertificationAuthority

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *