Remove-AdfsAttributeStore

Remove-AdfsAttributeStore

Removes an attribute store from the Federation Service.

Sintaxis

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

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

Descripción detallada

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

Parámetros

-PassThru

Devuelve un objeto que representa el elemento con el que está trabajando. De forma predeterminada, este cmdlet no genera ningún resultado.

Alias

ninguno

¿Requerido?

false

¿Posición?

named

Valor predeterminado

ninguno

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

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.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue)

¿Aceptar caracteres comodín?

false

-TargetName<String>

Specifies the name of the attribute store to remove.

Alias

ninguno

¿Requerido?

true

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

true (ByValue)

¿Aceptar caracteres comodín?

false

-Confirm

Solicita confirmación antes de ejecutar el cmdlet.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

-WhatIf

Muestra lo que sucedería si se ejecutara el cmdlet. El cmdlet no se ejecuta.

¿Requerido?

false

¿Posición?

named

Valor predeterminado

falso

¿Aceptar canalización?

false

¿Aceptar caracteres comodín?

false

<CommonParameters>

Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Entradas

El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.

  • Microsoft.IdentityServer.PowerShell.Resources.AttributeStore

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

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

Notas

  • An Servicios de federación de 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.

Ejemplos

Example 1: Remove an attribute store

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

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

Temas relacionados

Get-AdfsAttributeStore

Add-AdfsAttributeStore

Set-AdfsAttributeStore