Uninstall-AdcsEnrollmentPolicyWebService
Uninstall-AdcsEnrollmentPolicyWebService
Uninstalls the Certificate Enrollment Policy Web service.
構文
Parameter Set: UninstallSingleInstance
Uninstall-AdcsEnrollmentPolicyWebService -AuthenticationType <AuthenticationType> [-Force] [-KeyBasedRenewal] [ <CommonParameters>]
Parameter Set: UninstallAll
Uninstall-AdcsEnrollmentPolicyWebService [-AllPolicyServers] [-Force] [ <CommonParameters>]
詳細説明
The Uninstall-AdcsEnrollmentPolicyWebService cmdlet uninstalls the Certificate Enrollment Policy Web Service.
パラメーター
-AllPolicyServers
Uninstall all instances of the Certificate Enrollment Policy (CEP) Web Service.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AuthenticationType<AuthenticationType>
Specifies the authentication type for the Certificate Enrollment Policy (CEP) Web Service instance to be uninstalled when multiple instances are present.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Force
ユーザーの確認を求めずにコマンドを強制的に実行します。
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-KeyBasedRenewal
Specifies the instance of the Certificate Enrollment Policy Web Service running in key-based renewal mode to be uninstalled. This parameter is optional. It is used to distinguish which instance of the Certificate Enrollment Policy Web Service is to be uninstalled if there are multiple instances that use the same authentication type. If this option is not specified, the instance of the Certificate Enrollment Policy Web Service that is using the defined AuthenticationType that is not enabled for KeyBasedRenewal mode is uninstalled.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
true (ByPropertyName) |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
- bool, enum, bool
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- Microsoft.CertificateServices.Deployment.Commands.CEP.EnrollmentPolicyServiceResult
注
- Ensure you run Windows PowerShell as an administrator. You can use the -force switch to bypass the prompt for confirmation.
例
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
This command removes all configurations in the Certificate Enrollment Policy Web Service without prompting for confirmation.
C:\PS>Uninstall-AdcsEnrollmentPolicyWebService -AllPolicyServers -force
-------------------------- EXAMPLE 2 --------------------------
Description
-----------
This command removes the instance of Certificate Enrollment Policy Web Service that is utilizing certificate authentication and is in key-based renewal mode without prompting for confirmation.
C:\PS>Uninstall-AdcsEnrollmentPolicyWebService –AuthenticationType Certificate –KeyBasedRenewal -force