Remove-AdfsCertificate

Remove-AdfsCertificate

Removes a certificate from AD FS.

構文

Parameter Set: TargetCertificate
Remove-AdfsCertificate [-TargetCertificate] <ServiceCertificate> [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: ByProperties
Remove-AdfsCertificate -CertificateType <String> -Thumbprint <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Remove-AdfsCertificate cmdlet removes a certificate from Active Directory フェデレーション サービス (AD FS).

パラメーター

-CertificateType<String>

Specifies the type of the certificate to remove. このパラメーターに対して使用できる値:

-- Infocard-Signing
-- Service-Communications
-- Token-Encryption
-- Token-Signing

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

false

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

false

-TargetCertificate<ServiceCertificate>

Specifies the certificate to remove. This value is typically taken from the pipeline.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

True (ByValue)

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

false

-Thumbprint<String>

Specifies the thumbprint of the certificate to remove.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

True (ByValue)

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

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

入力

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

  • Microsoft.IdentityServer.PowerShell.Resources.ServiceCertificate

    A class structure that represents the service certificates for the Federation Service.

出力

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

  • None

  • Removing a certificate removes it only from the Active Directory フェデレーション サービス (AD FS) 2.0 configuration data. It does not remove or delete the certificate from the local certificate store on the server computer.

Example 1: Remove a token-signing certificate

This command removes a token-signing certificate from AD FS.

PS C:\> Remove-AdfsCertificate -CertificateType "Token-Signing" -Thumbprint ‎"fedd995b45e633d4ef30fcbc8f3a48b627e9a28b"

関連トピック

Add-AdfsCertificate

Get-AdfsCertificate

Set-AdfsCertificate

Update-AdfsCertificate