Set-ADFSSyncConfiguration

Set-ADFSSyncConfiguration

Sets the configuration properties of the database synchronization engine for the federation server farm.

Syntax

Parameter Set: Default
Set-ADFSSyncConfiguration [-PollDuration <Int32> ] [-PrimaryComputerName <String> ] [-PrimaryComputerPort <Int32> ] [-Role <String> ] [ <CommonParameters>]

Detailed Description

The Set-ADFSSyncConfiguration cmdlet changes the frequency of AD FS configuration database synchronization. It also specifies which federation server is the primary federation server in the federation server farm

Parameters

-PollDuration<Int32>

Specifies (in seconds) how often the AD FS configuration database is synchronized from the primary federation server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PrimaryComputerName<String>

Specifies the name of the primary federation server in the federation server farm. Settings for the Federation Service may be modified on the primary federation server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-PrimaryComputerPort<Int32>

Specifies the TCP port to use on the primary computer in the federation service farm. Settings for the federation service may be modified on the primary computer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Role<String>

Specifies whether this federation server is the primary federation server or a secondary federation server.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

Notes

  • This cmdlet is for use when working with server computers as part of a federation server farm.

Examples

-------------------------- EXAMPLE 1 --------------------------

Sets the name of the primary federation server in a federation server farm.

PS C:\> Set-ADFSSyncConfiguration -PrimaryComputerName fs1.fabrikam.com

Get-ADFSSyncConfiguration