Set-AdfsAttributeStore

Modifies properties of an attribute store.

Syntax

Set-AdfsAttributeStore
   [-TargetAttributeStore] <AttributeStore>
   [-Configuration <Hashtable>]
   [-Confirm]
   [-Name <String>]
   [-PassThru]
   [-WhatIf]
   [<CommonParameters>]
Set-AdfsAttributeStore
   [-TargetName] <String>
   [-Configuration <Hashtable>]
   [-Confirm]
   [-Name <String>]
   [-PassThru]
   [-WhatIf]
   [<CommonParameters>]

Description

The Set-AdfsAttributeStore cmdlet modifies properties of an attribute store in the Federation Service.

Examples

Example 1: Modify the configuration of an attribute store

PS C:\> Set-AdfsAttributeStore -TargetName "ContosoAttributeStore01" -Configuration @("runmode" = "verbose"; configParaName2 = configParaValueNew)

This command modifies the configuration for the custom attribute store named ContosoAttributeStore01.

Required Parameters

-TargetAttributeStore

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

Type:AttributeStore
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-TargetName

Specifies the name of the attribute store to modify.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False

Optional Parameters

-Configuration

Specifies the initialization parameters of the attribute store, such as a connection string.

Type:Hashtable
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

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

Specifies the friendly name of this attribute store.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PassThru

Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
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
Accept pipeline input:False
Accept wildcard characters:False