Skip to content

Commit e919a80

Browse files
Merge pull request MicrosoftDocs#3370 from Snozzberries/MicrosoftDocs#3369
Quality: PowerShell Summit MicrosoftDocsGH-3369
2 parents 9510afc + cfcbce7 commit e919a80

File tree

1 file changed

+21
-8
lines changed

1 file changed

+21
-8
lines changed

docset/winserver2022-ps/adcsdeployment/Uninstall-AdcsCertificationAuthority.md

Lines changed: 21 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,30 @@ Uninstalls the CA role service and removes the configuration information.
1616
## SYNTAX
1717

1818
```
19-
Uninstall-AdcsCertificationAuthority [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
19+
Uninstall-AdcsCertificationAuthority [-Force] [-WhatIf] [-Confirm]
20+
[<CommonParameters>]
2021
```
2122

2223
## DESCRIPTION
23-
The **Uninstall-AdcsCertificationAuthority** cmdlet removes the Active certificate authority (CA) role and removes the configuration information.
24+
25+
The `Uninstall-AdcsCertificationAuthority` cmdlet removes the Active certificate authority (CA) role
26+
and removes the configuration information.
2427

2528
## EXAMPLES
2629

2730
### Example 1: Uninstall the Active Directory CA role service
28-
```
29-
PS C:\> Uninstall-AdcsCertificationAuthority -Force
31+
32+
```powershell
33+
Uninstall-AdcsCertificationAuthority -Force
3034
```
3135

32-
This command uninstalls the Active Directory Certification Authority role service and does not prompt for user confirmation.
36+
This command uninstalls the Active Directory Certification Authority role service and does not
37+
prompt for user confirmation.
3338

3439
## PARAMETERS
3540

3641
### -Confirm
42+
3743
Prompts you for confirmation before running the cmdlet.
3844

3945
```yaml
@@ -49,6 +55,7 @@ Accept wildcard characters: False
4955
```
5056
5157
### -Force
58+
5259
Forces the command to run without asking for user confirmation.
5360
5461
```yaml
@@ -64,6 +71,7 @@ Accept wildcard characters: False
6471
```
6572
6673
### -WhatIf
74+
6775
Shows what would happen if the cmdlet runs.
6876
The cmdlet is not run.
6977
@@ -80,7 +88,11 @@ Accept wildcard characters: False
8088
```
8189
8290
### CommonParameters
83-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
91+
92+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
93+
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
94+
-WarningAction, and -WarningVariable. For more information, see
95+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
8496
8597
## INPUTS
8698
@@ -91,9 +103,10 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
91103
### Microsoft.CertificateServices.Deployment.Common.CA.CertificationAuthoritySetupResult
92104
93105
## NOTES
94-
* 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.
106+
107+
- To uninstall the CA role service, ensure you run Windows PowerShell as an administrator. You can
108+
run the command with the **Force** parameter to bypass the prompt for confirmation.
95109
96110
## RELATED LINKS
97111
98112
[Install-AdcsCertificationAuthority](./Install-AdcsCertificationAuthority.md)
99-

0 commit comments

Comments
 (0)