Edit

Share via


Update-DfsrConfigurationFromAD

Initiates an update of the DFS Replication service.

Syntax

Default (Default)

Update-DfsrConfigurationFromAD
    [[-ComputerName] <String[]>]
    [<CommonParameters>]

Description

The Update-DfsrConfigurationFromAD cmdlet initiates an update of the Distributed File System (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.

Examples

Example 1: Update the DFS Replication service

PS C:\> Update-DfsrConfigurationFromAD -ComputerName "SRV01","SRV02" -Verbose


VERBOSE: Performing operation "Update-DfsrConfigurationFromAD" on Target "SRV01".
VERBOSE: Successfully updated the DFSR Active Directory Domain Service configuration on the computer named SRV01.
VERBOSE: Performing operation "Update-DfsrConfigurationFromAD" on Target "SRV02".
VERBOSE: Successfully updated the DFSR Active Directory Domain Service configuration on the computer named SRV02.

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.

Parameters

-ComputerName

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.

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:False
DontShow:False
Aliases:MemberList, MemList

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

String

Outputs

None