Skip to content

Commit 4f47633

Browse files
Merge pull request MicrosoftDocs#3368 from Snozzberries/MicrosoftDocs#3367
Quality: PowerShell Summit MicrosoftDocsGH-3365, MicrosoftDocsGH-3367
2 parents 8eae0ee + def7fd8 commit 4f47633

File tree

1 file changed

+40
-17
lines changed

1 file changed

+40
-17
lines changed

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

Lines changed: 40 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,38 +16,48 @@ Uninstalls the Certificate Enrollment Policy Web service.
1616
## SYNTAX
1717

1818
### UninstallSingleInstance (Default)
19+
1920
```
20-
Uninstall-AdcsEnrollmentPolicyWebService -AuthenticationType <AuthenticationType> [-KeyBasedRenewal] [-Force]
21-
[-WhatIf] [-Confirm] [<CommonParameters>]
21+
Uninstall-AdcsEnrollmentPolicyWebService -AuthenticationType <AuthenticationType>
22+
[-KeyBasedRenewal] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
2223
```
2324

2425
### UninstallAll
26+
2527
```
26-
Uninstall-AdcsEnrollmentPolicyWebService [-AllPolicyServers] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
28+
Uninstall-AdcsEnrollmentPolicyWebService [-AllPolicyServers] [-Force]
29+
[-WhatIf] [-Confirm] [<CommonParameters>]
2730
```
2831

2932
## DESCRIPTION
30-
The **Uninstall-AdcsEnrollmentPolicyWebService** cmdlet uninstalls the Certificate Enrollment Policy (CEP) Web Service.
33+
34+
The `Uninstall-AdcsEnrollmentPolicyWebService` cmdlet uninstalls the Certificate Enrollment Policy
35+
(CEP) Web Service.
3136

3237
## EXAMPLES
3338

3439
### Example 1: Uninstall all configuration in the CEP Web Service
35-
```
36-
PS C:\> Uninstall-AdcsEnrollmentPolicyWebService -AllPolicyServers -Force
40+
41+
```powershell
42+
Uninstall-AdcsEnrollmentPolicyWebService -AllPolicyServers -Force
3743
```
3844

39-
This command uninstalls all configurations in the CEP Web Service without prompting for confirmation.
45+
This command uninstalls all configurations in the CEP Web Service without prompting for
46+
confirmation.
4047

4148
### Example 2: Uninstall an instance of the CEP Web Service
42-
```
43-
PS C:\> Uninstall-AdcsEnrollmentPolicyWebService -AuthenticationType Certificate -KeyBasedRenewal -Force
49+
50+
```powershell
51+
Uninstall-AdcsEnrollmentPolicyWebService -AuthenticationType Certificate -KeyBasedRenewal -Force
4452
```
4553

46-
This command uninstalls the instance of CEP Web Service that is utilizing certificate authentication and is in key-based renewal mode without prompting for confirmation.
54+
This command uninstalls the instance of CEP Web Service that is utilizing certificate authentication
55+
and is in key-based renewal mode without prompting for confirmation.
4756

4857
## PARAMETERS
4958

5059
### -AllPolicyServers
60+
5161
Indicates that the cmdlet uninstall all instances of the CEP Web Service.
5262

5363
```yaml
@@ -63,7 +73,9 @@ Accept wildcard characters: False
6373
```
6474
6575
### -AuthenticationType
66-
Specifies the authentication type for the CEP Web Service instance to be uninstalled when multiple instances are present.
76+
77+
Specifies the authentication type for the CEP Web Service instance to be uninstalled when multiple
78+
instances are present.
6779
6880
```yaml
6981
Type: AuthenticationType
@@ -79,6 +91,7 @@ Accept wildcard characters: False
7991
```
8092
8193
### -Confirm
94+
8295
Prompts you for confirmation before running the cmdlet.
8396
8497
```yaml
@@ -94,6 +107,7 @@ Accept wildcard characters: False
94107
```
95108
96109
### -Force
110+
97111
Forces the command to run without asking for user confirmation.
98112
99113
```yaml
@@ -109,10 +123,12 @@ Accept wildcard characters: False
109123
```
110124
111125
### -KeyBasedRenewal
112-
Indicates that this cmdlet uninstalls the instance of the CEP Web Service running in key-based renewal mode.
113-
This parameter is optional.
114-
It is used to distinguish which instance of the CEP Web Service is to be uninstalled if there are multiple instances that use the same authentication type.
115-
If this option is not specified, the instance of the CEP Web Service that is using the defined AuthenticationType that is not enabled for KeyBasedRenewal mode is uninstalled.
126+
127+
Indicates that this cmdlet uninstalls the instance of the CEP Web Service running in key-based
128+
renewal mode. This parameter is optional. It is used to distinguish which instance of the CEP Web
129+
Service is to be uninstalled if there are multiple instances that use the same authentication type.
130+
If this option is not specified, the instance of the CEP Web Service that is using the defined
131+
AuthenticationType that is not enabled for KeyBasedRenewal mode is uninstalled.
116132
117133
```yaml
118134
Type: SwitchParameter
@@ -127,6 +143,7 @@ Accept wildcard characters: False
127143
```
128144
129145
### -WhatIf
146+
130147
Shows what would happen if the cmdlet runs. The cmdlet is not run.
131148
132149
```yaml
@@ -142,7 +159,11 @@ Accept wildcard characters: False
142159
```
143160
144161
### CommonParameters
145-
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).
162+
163+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
164+
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
165+
-WarningAction, and -WarningVariable. For more information, see
166+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
146167
147168
## INPUTS
148169
@@ -155,7 +176,9 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
155176
### Microsoft.CertificateServices.Deployment.Common.CEP.EnrollmentPolicyServiceResult
156177
157178
## NOTES
158-
* Ensure you run Windows PowerShell as an administrator. You can use the *Force* parameter to bypass the prompt for confirmation.
179+
180+
- Ensure you run Windows PowerShell as an administrator. You can use the **Force** parameter to
181+
bypass the prompt for confirmation.
159182
160183
## RELATED LINKS
161184

0 commit comments

Comments
 (0)