Update-DfsrConfigurationFromAD
Update-DfsrConfigurationFromAD
Initiates an update of the DFS Replication service.
Syntax
Parameter Set: Default
Update-DfsrConfigurationFromAD [[-ComputerName] <String[]> ] [ <CommonParameters>]
Detailed Description
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.
Parameters
-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.
Aliases |
MemberList,MemList |
Required? |
false |
Position? |
1 |
Default Value |
[local computer] |
Accept Pipeline Input? |
True (ByValue, ByPropertyName) |
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.
- string
Outputs
The output type is the type of the objects that the cmdlet emits.
- [none]
Examples
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