Uninstall-Adcs
Enrollment
Web
Service
Uninstalls the Certificate Enrollment Web service or individual instances of it.
Syntax
Uninstall-Adcs Enrollment Web Service
-CAConfig <String>
-AuthenticationType <AuthenticationType>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Uninstall-Adcs Enrollment Web Service
[-AllEnrollmentServices]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Uninstall-AdcsEnrollmentWebService cmdlet uninstalls the Certificate Enrollment Web Service either entirely removing all instances of it or partially by removing individual instances.
Examples
Example 1: Uninstall all Enrollment Web Service role services
PS C:\> Uninstall-AdcsEnrollmentWebService -AllEnrollmentServices -Force
This command uninstalls all the Enrollment Web Service role services without prompting for confirmation.
Example 2: Uninstall an Enrollment Web Service role service using the specified CA
PS C:\> Uninstall-AdcsEnrollmentWebService -CAConfig "APP1.corp.contoso.com\corp-APP1-CA" -AuthenticationType Certificate
This command uninstalls the Certificate Enrollment Web Service using the CA specified by the configuration named APP1.corp.contoso.com\corp-APP1-CA. The CA configuration is the CA Computer Name and CA common name separated by a backslash. The authentication type in use is Certificate.
Parameters
-AllEnrollmentServices
Indicates that this cmdlet removes all Certificate Enrollment Web Service instances.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-AuthenticationType
Specifies the authentication type of the of enrollment services instance to be uninstalled.
Type: | AuthenticationType |
Accepted values: | Kerberos, UserName, Certificate |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-CAConfig
Specifies the configuration string of the certification authority (CA) for which this cmdlet uninstalls enrollment services. This parameter is used to identify which instance of the Certificate Enrollment Web Service is to be uninstalled when multiple are present.
Type: | String |
Position: | Named |
Default value: | None |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
String
Microsoft.CertificateServices.Deployment.Common.AuthenticationType
SwitchParameter
Outputs
Microsoft.CertificateServices.Deployment.Common.CES.EnrollmentServiceResult
Notes
- 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.