Remove-CATemplate

Remove-CATemplate

Removes the templates from the certification authority (CA) which were set for issuance of certificates.

構文

Parameter Set: Default
Remove-CATemplate [-Name] <String> [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AllTemplates
Remove-CATemplate -AllTemplates [-Force] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Remove-CATemplate cmdlet removes the templates from the certification authority (CA) which were set for issuance of certificates.

パラメーター

-AllTemplates

Removes all certificate templates on the CA that are available for certificate issuance. A common task administrative task is to remove all the default templates that are currently added for issuance. This allows the administrator to add only the templates that should be available for certificate issuance in the given scenario.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

false

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

false

-Force

ユーザーの確認を求めずにコマンドを強制的に実行します。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-Name<String>

Removes an individual certificate template from the CA that is available for certificate issuance. Be sure to use the certificate template name and not the certificate template display name. For example, the certificate template display name of Basic EFS is assigned the template name EFS.

エイリアス

なし

必須?

true

位置は?

2

既定値

なし

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

true (ByValue, ByPropertyName)

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

false

-Confirm

コマンドレットを実行する前に、ユーザーに確認を求めます。

必須?

false

位置は?

named

既定値

false

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

false

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

false

-WhatIf

コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。

必須?

false

位置は?

named

既定値

false

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

false

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

false

<CommonParameters>

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

入力

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

  • System.String

出力

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

  • None

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

Description

-----------

All the templates on the CA set for certificates issuance are removed.

C:\PS>Remove-CATemplate -AllTemplates

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

Description

-----------

The template named "EFS" on the CA that is set for certificate issuance is removed.

C:\PS>Remove-CATemplate -Name "EFS"

関連トピック

Add-CATemplate

Get-CATemplate