[This command requires installed Remote Server Administration Tools (RSAT)]
Name
Uninstall-CertificationAuthority
SYNOPSIS
Uninstalls Active Directory Certificate Services role from the local computer.
SYNTAX
Uninstall-CertificationAuthority [-AutoRestart] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Uninstalls Active Directory Certificate Services role from the local computer.
The command supports Windows Server 2008 R2 Server Core installations.
PARAMETERS
-AutoRestart<SwitchParameter>
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 |
-Force<SwitchParameter>
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 |
-WhatIf<SwitchParameter>
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 |
-Confirm<SwitchParameter>
Prompts you for confirmation before executing the command.
Required? | False |
Position? | named |
Default value | |
Accept pipeline input? | false |
Accept wildcard characters? | False |
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
bout_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
None.
OUTPUTS
None.
NOTES
Author: Vadims Podans
Blog: http://en-us.sysadmins.lv
EXAMPLES
-------------- Example 1 --------------
PS C:\> Uninstall-CertificationAuthority -AutoRestart -Force
The command will uninstall CA role, suppresses all prompts and automatically restarts the server upon completion.
RELATED LINKS
Install-CertificationAuthority
PowerShell Requirements
- PowerShell 2.0
Operating System Requirements
- Windows Server 2008 all editions
- Windows Server 2008 R2 all editions