Uninstall-AdcsEnrollmentWebService

Uninstall-AdcsEnrollmentWebService

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

Syntaxe

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

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

Description détaillée

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

Paramètres

-AllEnrollmentServices

Specifies the removal of Certificate Enrollment Web Service instances.

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true (ByPropertyName)

Accepter les caractères génériques ?

false

-AuthenticationType<AuthenticationType>

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

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true (ByPropertyName)

Accepter les caractères génériques ?

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.

Alias

none

Obligatoire ?

true

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

true (ByPropertyName)

Accepter les caractères génériques ?

false

-Force

Alias

none

Obligatoire ?

false

Position ?

named

Valeur par défaut

none

Accepter l’entrée de pipeline ?

false

Accepter les caractères génériques ?

false

<CommonParameters>

Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entrées

Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.

  • string,enum,bool

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • Microsoft.CertificateServices.Deployment.Commands.CES.EnrollmentServiceResult

Remarques

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

Exemples

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

Rubriques connexes

Install-AdcsEnrollmentWebService