Uninstall-AdcsEnrollmentWebService

Uninstall-AdcsEnrollmentWebService

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

構文

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

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

詳細説明

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

パラメーター

-AllEnrollmentServices

Specifies the removal of Certificate Enrollment Web Service instances.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-AuthenticationType<AuthenticationType>

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

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

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.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

パイプライン入力を許可する

true (ByPropertyName)

ワイルドカード文字を許可する

false

-Force

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • string,enum,bool

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

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

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

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