Set-ADFSSyncProperties
Set-ADFSSyncProperties
Sets the properties of the database synchronization engine for the federation server farm.
Syntax
Set-ADFSSyncProperties [-PollDuration <int>] [-PrimaryComputerName <string>] [-PrimaryComputerPort <int>] [-Role <string>] [-Confirm] [-WhatIf] [<CommonParameters>]
PollDuration
PrimaryComputerName
PrimaryComputerPort
Role
Confirm
WhatIf
Detailed Description
The Set-ADFSSyncProperties 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
Specifies (in seconds) how often the AD FS configuration database is synchronized from the primary federation server.
Default Value: **
Data Type: int
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
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.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
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.
Default Value: **
Data Type: int
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Role
Specifies whether this federation server is the primary federation server or a secondary federation server.
Default Value: **
Data Type: string
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
true |
required |
Variable Length? |
false |
variableLength |
Confirm
Prompts you for confirmation before executing the command.
Default Value: **
Data Type: SwitchParameter
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
true |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
WhatIf
Describes what would happen if you executed the command without actually executing the command.
Default Value: **
Data Type: SwitchParameter
Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
true |
variableLength |
Accept wildcard characters? |
false |
globbing |
Accept Pipeline Input? |
false |
pipelineInput |
Position? |
named |
position |
Value Attributes
Name | Value | PSMAML Attribute |
---|---|---|
Required? |
false |
required |
Variable Length? |
false |
variableLength |
Input Type
None
Return Type
None
Notes
- This cmdlet is for use when working with server computers as part of a federation server farm.
Examples
-------------------------- EXAMPLE 1 --------------------------
Command Prompt: C:\PS>
Set-ADFSSyncProperties -PrimaryComputerName fs1.fabrikam.com
Description
-----------
Sets the name of the primary federation server in a federation server farm.