Uninstalls Active Directory Certificate Services role from the local computer.
Uninstall-CertificationAuthority [-AutoRestart] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
Uninstalls Active Directory Certificate Services role from the local computer.
The command supports Windows Server 2008 R2 Server Core installations.
Automatically restarts computer to complete CA role removal. Otherwise you will have to restart the server manually.
Required? | False |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
By default, the commands prompts you whether you want to remove CA role. Use –Force switch to suppress all prompts.
Required? | False |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
Describes what would happen if you executed the command without actually executing the command.
Required? | False |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
Prompts you for confirmation before executing the command.
Required? | False |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, InformationAction, InformationVariable,
WarningAction, WarningVariable, OutBuffer, PipelineVariable and OutVariable.
For more information, see about_CommonParameters (https://go.microsoft.com/fwlink/?LinkID=113216).
None.
SysadminsLV.PKI.Utils.IServiceOperationResult
Author: Vadims Podans
Blog: https://www.sysadmins.lv
PS C:\> Uninstall-CertificationAuthority -AutoRestart -Force
The command will uninstall CA role, suppresses all prompts and automatically restarts the server upon completion.
Install-CertificationAuthority