Set-AdfsSyncProperties
Set-AdfsSyncProperties
Modifies the frequency of synchronization for the AD FS configuration database and which server is primary in the farm.
Sintaxis
Parameter Set: Default
Set-AdfsSyncProperties [-PollDuration <Int32> ] [-PrimaryComputerName <String> ] [-PrimaryComputerPort <Int32> ] [-Role <String> ] [ <CommonParameters>]
Descripción detallada
The Set-ADFSSyncProperties cmdlet modifies the frequency of synchronization for the Servicios de federación de Active Directory (AD FS) configuration database. The cmdlet also specifies which is the primary server in the farm.
Parámetros
-PollDuration<Int32>
Specifies how often, in seconds, the AD FS configuration database synchronizes with the primary .
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-PrimaryComputerName<String>
Specifies the name of the primary in a farm. Modify settings for the Federation Service on the primary .
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-PrimaryComputerPort<Int32>
Specifies the primary computer port. The primary computer in the farm uses the TCP port that you specify. Modify settings for the Federation Service on the primary .
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
false |
-Role<String>
Specifies the role for this . Los valores aceptables para este parámetro son los siguientes: primary and secondary.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
named |
Valor predeterminado |
ninguno |
¿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.
- System.Object
Ejemplos
Example 1: Modify the poll duration for a farm
This command modifies the database synchronization to 3600 seconds. The command makes the change to the primary .
PS C:\> Set-AdfsSyncProperties -PollDuration 3600 -PrimaryComputerName "FederationServerPrimary"