Set-DfsReplicationGroup
Set-DfsReplicationGroup
Modifies a replication group.
语法
Parameter Set: Default
Set-DfsReplicationGroup [-GroupName] <String[]> [[-Description] <String> ] [[-DomainName] <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]
详细说明
The Set-DfsReplicationGroup cmdlet modifies the configuration of existing replication groups.
A replication group is a set of servers, or members, that participate in the replication of one or more folders. A replicated folder is kept synchronized among the members of a replication group. This cmdlet cannot modify resource group bandwidth or schedules.
参数
-Description<String>
Specifies a description for a replication group.
别名 |
无 |
是否为必需? |
false |
位置? |
2 |
默认值 |
无 |
是否接受管道输入? |
false |
是否接受通配符? |
false |
-DomainName<String>
Specifies a NetBIOS or fully qualified domain name (FQDN) for an Active Directory domain that contains the replication group. If you do not specify this parameter, the cmdlet uses the current domain.
别名 |
无 |
是否为必需? |
false |
位置? |
101 |
默认值 |
[Current Domain] |
是否接受管道输入? |
True (ByPropertyName) |
是否接受通配符? |
false |
-GroupName<String[]>
Specifies an array of names of replication groups. If you do not specify this parameter, the cmdlet queries for all participating replication groups. You can specify multiple collections, separated by commas, as well as wildcard characters (*).
别名 |
RG,RgName |
是否为必需? |
true |
位置? |
1 |
默认值 |
无 |
是否接受管道输入? |
True (ByValue, ByPropertyName) |
是否接受通配符? |
true |
-Confirm
运行 cmdlet 之前提示你进行确认。
是否为必需? |
false |
位置? |
named |
默认值 |
false |
是否接受管道输入? |
false |
是否接受通配符? |
false |
-WhatIf
显示如果运行 cmdlet 则会发生什么情况。cmdlet 未运行。
是否为必需? |
false |
位置? |
named |
默认值 |
false |
是否接受管道输入? |
false |
是否接受通配符? |
false |
<CommonParameters>
此 cmdlet 支持通用参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
输入
输入类型是指可通过管道传送给 cmdlet 的对象的类型。
- Microsoft.DistributedFileSystemReplication.DfsReplicationGroup
输出
输出类型是 cmdlet 所发出对象的类型。
- Microsoft.DistributedFileSystemReplication.DfsReplicationGroup
示例
Example 1: Modify a replication group configuration
This command modifies the description of a replication group named RG01.
PS C:\> Set-DfsReplicationGroup -GroupName "RG01" -Description "Contoso Branch Office Data Collection for Backups"