Set-ADFSSyncConfiguration

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

Syntax

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

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

Examples

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

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

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

Parameters

-PollDuration

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

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PrimaryComputerName

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.

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PrimaryComputerPort

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.

Type:Int32
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Role

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

Type:String
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

None

Notes

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