Remove-ADFSAttributeStore

Removes an attribute store from the Federation Service.

Syntax

Remove-ADFSAttributeStore
      [-TargetName] <String>
      [-PassThru]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]
Remove-ADFSAttributeStore
      [-TargetAttributeStore] <AttributeStore>
      [-PassThru]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

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

Examples

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

C:\PS>Remove-ADFSAttributeStore -TargetName "My Attribute Store"

Description


Removes an attribute store from the Federation Service.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Passes an object to the pipeline. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetAttributeStore

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

Type:AttributeStore
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-TargetName

Specifies the name of the attribute store to remove.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.IdentityServer.PowerShell.Resources.AttributeStore

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

Outputs

None

Notes

  • An Active Directory Federation Services (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 create your own custom attribute store.