Update-DfsrConfigurationFromAD
Update-DfsrConfigurationFromAD
Initiates an update of the DFS Replication service.
語法
Parameter Set: Default
Update-DfsrConfigurationFromAD [[-ComputerName] <String[]> ] [ <CommonParameters>]
詳細描述
The Update-DfsrConfigurationFromAD cmdlet initiates an update of the DFS Replication service. The cmdlet forces the DFS Replication service to immediately perform a full Lightweight Directory Access Protocol (LDAP) poll of the Active Directory Domain Services (AD°DS) for configuration changes, and applies any changes to the service.
By default, the DFS Replication service queries domain controllers every five minutes by using a lightweight check for membership configuration changes in AD°DS. This periodic check speeds up the service response to certain types of configuration changes. If the DFS Replication service detects a new membership, a full poll follows. By default, the DFS Replication service performs a full poll every hour.
參數
-ComputerName<String[]>
Specifies an array of names of member computers. You can use a comma separated list and the wildcard character (*). The cmdlet forces the DFS Replication service on the computers to poll Active Directory immediately.
If you do not specify this parameter, the cmdlet uses the local computer. To return a response, use the Verbose parameter.
別名 |
MemberList,MemList |
必要? |
false |
位置? |
1 |
預設值 |
[local computer] |
接受管線輸入? |
True (ByValue, ByPropertyName) |
接受萬用字元? |
false |
<CommonParameters>
此 Cmdlet 支援一般參數:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 與 -OutVariable。如需詳細資訊,請參閱 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
輸入
輸入類型是您可以使用管線處理方式傳遞給 Cmdlet 的物件類型。
- string
輸出
輸出類型是 Cmdlet 所發出的物件類型。
- [none]
範例
Example 1: Update the DFS Replication service
This command forces the remote DFS Replication servers SRV01 and SRV02 to poll AD°DS immediately and apply any changes to the DFS Replication service.
PS C:\> Update-DfsrConfigurationFromAD -ComputerName "SRV01","SRV02" -Verbose