Set-AdfsSyncProperties
Set-AdfsSyncProperties
Modifies the frequency of synchronization for the AD FS configuration database and which server is primary in the farm.
構文
Parameter Set: Default
Set-AdfsSyncProperties [-PollDuration <Int32> ] [-PrimaryComputerName <String> ] [-PrimaryComputerPort <Int32> ] [-Role <String> ] [ <CommonParameters>]
詳細説明
The Set-ADFSSyncProperties cmdlet modifies the frequency of synchronization for the Active Directory フェデレーション サービス (AD FS) configuration database. The cmdlet also specifies which is the primary server in the farm.
パラメーター
-PollDuration<Int32>
Specifies how often, in seconds, the AD FS configuration database synchronizes with the primary .
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-PrimaryComputerName<String>
Specifies the name of the primary in a farm. Modify settings for the Federation Service on the primary .
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
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 .
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-Role<String>
Specifies the role for this . このパラメーターに対して使用できる値: primary and secondary.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
- System.Object
例
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"