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

相关主题

Get-DfsrMember