Skip to content

Commit 8eae0ee

Browse files
Merge pull request MicrosoftDocs#3366 from Snozzberries/MicrosoftDocs#3365
Quality: PowerShell Summit MicrosoftDocsGH-3365
2 parents 5d362dc + 42a54c3 commit 8eae0ee

File tree

1 file changed

+41
-18
lines changed

1 file changed

+41
-18
lines changed

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

Lines changed: 41 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,53 @@ Uninstalls the Certificate Enrollment Web service or individual instances of it.
1616
## SYNTAX
1717

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

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

2932
## DESCRIPTION
30-
The **Uninstall-AdcsEnrollmentWebService** cmdlet uninstalls the Certificate Enrollment Web Service either entirely removing all instances of it or partially by removing individual instances.
33+
34+
The `Uninstall-AdcsEnrollmentWebService` cmdlet uninstalls the Certificate Enrollment Web Service
35+
either entirely removing all instances of it or partially by removing individual instances.
3136

3237
## EXAMPLES
3338

3439
### Example 1: Uninstall all Enrollment Web Service role services
35-
```
36-
PS C:\> Uninstall-AdcsEnrollmentWebService -AllEnrollmentServices -Force
40+
41+
```powershell
42+
Uninstall-AdcsEnrollmentWebService -AllEnrollmentServices -Force
3743
```
3844

39-
This command uninstalls all the Enrollment Web Service role services without prompting for confirmation.
45+
This command uninstalls all the Enrollment Web Service role services without prompting for
46+
confirmation.
4047

4148
### Example 2: Uninstall an Enrollment Web Service role service using the specified CA
42-
```
43-
PS C:\> Uninstall-AdcsEnrollmentWebService -CAConfig "APP1.corp.contoso.com\corp-APP1-CA" -AuthenticationType Certificate
49+
50+
```powershell
51+
$params = @{
52+
CAConfig = "APP1.corp.contoso.com\corp-APP1-CA"
53+
AuthenticationType = Certificate
54+
}
55+
Uninstall-AdcsEnrollmentWebService @params
4456
```
4557

46-
This command uninstalls the Certificate Enrollment Web Service using the CA specified by the configuration named APP1.corp.contoso.com\corp-APP1-CA.
47-
The CA configuration is the CA Computer Name and CA common name separated by a backslash.
48-
The authentication type in use is Certificate.
58+
This command uninstalls the Certificate Enrollment Web Service using the CA specified by the
59+
configuration named `APP1.corp.contoso.com\corp-APP1-CA`. The CA configuration is the CA Computer
60+
Name and CA common name separated by a backslash. The authentication type in use is Certificate.
4961

5062
## PARAMETERS
5163

5264
### -AllEnrollmentServices
65+
5366
Indicates that this cmdlet removes all Certificate Enrollment Web Service instances.
5467

5568
```yaml
@@ -65,6 +78,7 @@ Accept wildcard characters: False
6578
```
6679
6780
### -AuthenticationType
81+
6882
Specifies the authentication type of the of enrollment services instance to be uninstalled.
6983
7084
```yaml
@@ -81,8 +95,10 @@ Accept wildcard characters: False
8195
```
8296
8397
### -CAConfig
84-
Specifies the configuration string of the certification authority (CA) for which this cmdlet uninstalls enrollment services.
85-
This parameter is used to identify which instance of the Certificate Enrollment Web Service is to be uninstalled when multiple are present.
98+
99+
Specifies the configuration string of the certification authority (CA) for which this cmdlet
100+
uninstalls enrollment services. This parameter is used to identify which instance of the Certificate
101+
Enrollment Web Service is to be uninstalled when multiple are present.
86102
87103
```yaml
88104
Type: String
@@ -97,6 +113,7 @@ Accept wildcard characters: False
97113
```
98114
99115
### -Confirm
116+
100117
Prompts you for confirmation before running the cmdlet.
101118
102119
```yaml
@@ -112,6 +129,7 @@ Accept wildcard characters: False
112129
```
113130
114131
### -Force
132+
115133
Forces the command to run without asking for user confirmation.
116134
117135
```yaml
@@ -127,6 +145,7 @@ Accept wildcard characters: False
127145
```
128146
129147
### -WhatIf
148+
130149
Shows what would happen if the cmdlet runs. The cmdlet is not run.
131150
132151
```yaml
@@ -142,7 +161,11 @@ Accept wildcard characters: False
142161
```
143162
144163
### 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).
164+
165+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable,
166+
-InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose,
167+
-WarningAction, and -WarningVariable. For more information, see
168+
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
146169
147170
## INPUTS
148171
@@ -157,11 +180,11 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
157180
### Microsoft.CertificateServices.Deployment.Common.CES.EnrollmentServiceResult
158181
159182
## NOTES
160-
* The application directories are removed from their respective instance folders in the file system. The uninstall command does not remove the Secure Sockets Layer/Transport Layer Security (SSL/TLS) or the secure hypertext transfer protocol (https) bindings.
161183
162-
184+
- The application directories are removed from their respective instance folders in the file system.
185+
The uninstall command does not remove the Secure Sockets Layer/Transport Layer Security (SSL/TLS)
186+
or the secure hypertext transfer protocol (https) bindings.
163187
164188
## RELATED LINKS
165189
166190
[Install-AdcsEnrollmentWebService](./Install-AdcsEnrollmentWebService.md)
167-

0 commit comments

Comments
 (0)