Share via


Remove-AdfsAttributeStore

Remove-AdfsAttributeStore

Removes an attribute store from the Federation Service.

構文

Parameter Set: InputObject
Remove-AdfsAttributeStore [-TargetAttributeStore] <AttributeStore> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: Name
Remove-AdfsAttributeStore [-TargetName] <String> [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]

詳細説明

The Remove-AdfsAttributeStore cmdlet removes an attribute store from the Federation Service.

パラメーター

-PassThru

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

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

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

false

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

false

-TargetAttributeStore<AttributeStore>

Specifies an AttributeStore object. The cmdlet removes the AttributeStore object that you specify. To obtain an attribute store, use the Get-AdfsAttributeStore cmdlet.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

true (ByValue)

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

false

-TargetName<String>

Specifies the name of the attribute store to remove.

エイリアス

なし

必須?

true

位置は?

1

既定値

なし

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

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

    A class structure that represents an AD FS 2.0 attribute store object

出力

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

  • An Active Directory フェデレーション サービス (AD FS) 2.0 attribute store is a pluggable module that the policy process for AD FS 2.0 can query to retrieve claim values. You can use either an Active Directory database or a Microsoft SQL Server database as your attribute store, or you can implement your own custom attribute store.

Example 1: Remove an attribute store

This command removes the attribute store named ContosoAttributeStore01 from the Federation Service.

PS C:\> Remove-ADFSAttributeStore -TargetName "ContosoAttributeStore01"

関連トピック

Get-AdfsAttributeStore

Add-AdfsAttributeStore

Set-AdfsAttributeStore