Set-AdfsAttributeStore is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Modifies properties of an attribute store.
Description
The Set-AdfsAttributeStore cmdlet modifies properties of an attribute store in the Federation Service.
Parameters
-Configuration
Specifies the initialization parameters of the attribute store, such as a connection string.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
Specifies the friendly name of this attribute store.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-PassThru <SwitchParameter>
Returns an object representing the item with which you are working. By default, this cmdlet does not generate any output.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-TargetAttributeStore <AttributeStore>
Specifies an AttributeStore object. The cmdlet modifies the attribute store that you specify. To obtain an attribute store, use the Get-AdfsAttributeStore cmdlet.
Required? true
Position? 1
Default value none
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-TargetName <String>
Specifies the name of the attribute store to modify.
Required? true
Position? 1
Default value none
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-Confirm <SwitchParameter>
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf <SwitchParameter>
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Set-AdfsAttributeStore [-Name <String>] [-Configuration <Hashtable>] [-TargetName] <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Set-AdfsAttributeStore [-Name <String>] [-Configuration <Hashtable>] [-TargetAttributeStore] <AttributeStore> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
———————Example 1———————
Modify the configuration of an attribute store
PS C:> Set- AdfsAttributeStore -TargetName “TOSSAttributeStore01” -Configuration @(“runmode” = “verbose”; configParaName2 = configParaValueNew)
This command modifies the configuration for the custom attribute store named TOSSAttributeStore01.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Set-AdfsAttributeStore
You can also read about
- Add-AdfsAttributeStore
- Get-AdfsAttributeStore
- Remove-AdfsAttributeStore
References are taken from Microsoft