Disable-AdfsClaimsProviderTrust

Disable-AdfsClaimsProviderTrust

Disables a claims provider trust in the Federation Service.

構文

Parameter Set: Identifier
Disable-AdfsClaimsProviderTrust -TargetIdentifier <String> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: IdentifierName
Disable-AdfsClaimsProviderTrust -TargetName <String> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: IdentifierObject
Disable-AdfsClaimsProviderTrust -TargetClaimsProviderTrust <ClaimsProviderTrust> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: TokenSigningCertificates
Disable-AdfsClaimsProviderTrust -TargetCertificate <X509Certificate2> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Disable-AdfsClaimsProviderTrust cmdlet disables a claims provider trust in the Federation Service. When disabled all tokens issued by this claims provider are not accepted by the AD FS service.

パラメーター

-PassThru

作業中の項目を表すオブジェクトを返します。既定では、このコマンドレットによる出力はありません。

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-TargetCertificate<X509Certificate2>

Specifies the token-signing certificate of the claims provider trust to disable.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

true (ByValue)

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

false

-TargetClaimsProviderTrust<ClaimsProviderTrust>

Specifies a ClaimsProviderTrust object. The cmdlet enables the claims provider trust that you specify. To obtain a ClaimsProviderTrust object, use the Get-AdfsClaimsProviderTrust cmdlet.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

true (ByValue)

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

false

-TargetIdentifier<String>

Specifies the identifier of the claims provider trust to disable.

エイリアス

なし

必須?

true

位置は?

named

既定値

なし

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

true (ByValue)

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

false

-TargetName<String>

Specifies the name of the claims provider trust to disable.

エイリアス

なし

必須?

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

    A class that represents a claims provider trust for the Federation Service.

出力

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

Example 1: Disable a claims provider trust

This command disables the claims provider trust named My claims provider.

PS C:\> Disable-AdfsClaimsProviderTrust -TargetName "Fabrikam claims provider"

関連トピック

Enable-AdfsClaimsProviderTrust

Get-AdfsClaimsProviderTrust

Remove-AdfsClaimsProviderTrust

Set-AdfsClaimsProviderTrust

Update-AdfsClaimsProviderTrust