Remove-AdfsAttributeStore
Remove-AdfsAttributeStore is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Removes an attribute store from the Federation Service.
Description
The Remove-AdfsAttributeStore cmdlet removes an attribute store from the Federation Service.
Parameters
-PassThru
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 removes the AttributeStore object 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 remove.
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
Remove-AdfsAttributeStore [-TargetName] <String> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
Remove-AdfsAttributeStore [-TargetAttributeStore] <AttributeStore> [-PassThru] [-WhatIf] [-Confirm] [<CommonParameters>]
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 implement your own custom attribute store.
—————–Example 1—————–
Remove an attribute store
PS C:> Remove-ADFSAttributeStore -TargetName “TOSSolutionAttributeStore01”
This command removes the attribute store named TOSSolutionAttributeStore01 from the Federation Service.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Remove-AdfsAttributeStore
You can also read about
- Get-AdfsAttributeStore
- Add-AdfsAttributeStore
- Set-AdfsAttributeStore