Set-AdfsAttributeStore
Set-AdfsAttributeStore
Modifies properties of an attribute store.
Sintaxis
Parameter Set: InputObject
Set-AdfsAttributeStore [-TargetAttributeStore] <AttributeStore> [-Configuration <Hashtable> ] [-Name <String> ] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]
Parameter Set: Name
Set-AdfsAttributeStore [-TargetName] <String> [-Configuration <Hashtable> ] [-Name <String> ] [-PassThru] [-Confirm] [-WhatIf] [ <CommonParameters>]
Descripción detallada
The Set-AdfsAttributeStore cmdlet modifies properties of an attribute store in the Federation Service.
Parámetros
-Configuration<Hashtable>
Specifies the initialization parameters of the attribute store, such as a connection string.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Name<String>
Specifies the friendly name of this attribute store.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-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 modifies the attribute store 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 modify.
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.
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
Ejemplos
Example 1: Modify the configuration of an attribute store
This command modifies the configuration for the custom attribute store named ContosoAttributeStore01.
PS C:\> Set-AdfsAttributeStore -TargetName 'ContosoAttributeStore01' -Configuration @("runmode" = "verbose"; configParaName2 = configParaValueNew)