Uninstall-AdcsEnrollmentWebService

Uninstall-AdcsEnrollmentWebService

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

Syntax

Parameter Set: UninstallSingleInstance
Uninstall-AdcsEnrollmentWebService -AuthenticationType <AuthenticationType> -CAConfig <String> [-Force] [ <CommonParameters>]

Parameter Set: UninstallAll
Uninstall-AdcsEnrollmentWebService [-AllEnrollmentServices] [-Force] [ <CommonParameters>]

Detailed Description

The Uninstall-AdcsEnrollmentWebService cmdlet uninstalls the Certificate Enrollment Web Service either entirely removing all instances of it or partially by removing individual instances.

Parameters

-AllEnrollmentServices

Specifies the removal of Certificate Enrollment Web Service instances.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-AuthenticationType<AuthenticationType>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-CAConfig<String>

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.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByPropertyName)

Accept Wildcard Characters?

false

-Force

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • string,enum,bool

Outputs

The output type is the type of the objects that the cmdlet emits.

  • 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.

Examples

-------------------------- EXAMPLE 1 --------------------------

Description

-----------

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

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

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

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.

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

Install-AdcsEnrollmentWebService