Uninstall-AdcsEnrollmentWebService

Uninstalls the Certificate Enrollment Web service or individual instances of it.

Syntax

Uninstall-AdcsEnrollmentWebService
         -CAConfig <String>
         -AuthenticationType <AuthenticationType>
         [-Force]
         [-WhatIf]
         [-Confirm]
         [<CommonParameters>]
Uninstall-AdcsEnrollmentWebService
         [-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 --------------------------

C:\PS>Uninstall-AdcsEnrollmentWebService -AllEnrollmentServices -force

Description


This command removes all the Web Enrollment role services without prompting for confirmation.

-------------------------- EXAMPLE 2 --------------------------

C:\PS>Uninstall-AdcsEnrollmentWebService -CAConfig APP1.corp.contoso.com\corp-APP1-CA -AuthenticationType Certificate

Description


This command removes the Certificate Enrollment Web Service using the CA specified by the configuration 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.

Required Parameters

-AuthenticationType

Specifies the authentication type of the of enrollment services instance to be uninstalled.

Type:AuthenticationType
Parameter Sets:Kerberos, UserName, Certificate
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
Accept wildcard characters:False
-CAConfig

Specifies the configuration string of the certification authority (CA) for which enrollment services will be uninstalled. 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 (ByPropertyName)
Accept wildcard characters:False

Optional Parameters

-AllEnrollmentServices

Specifies the removal of Certificate Enrollment Web Service instances.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:True (ByPropertyName)
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
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,enum,bool

Outputs

Microsoft.CertificateServices.Deployment.Commands.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.