Get-DfsReplicationGroup

Get-DfsReplicationGroup

Retrieves a replication group.

構文

Parameter Set: Default
Get-DfsReplicationGroup [[-GroupName] <String[]> ] [[-DomainName] <String> ] [-IncludeSysvol] [ <CommonParameters>]

詳細説明

The Get-DfsReplicationGroup cmdlet retrieves 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. The DFS Replication Get-* cmdlets are useful for pipeline operations or inventory.

パラメーター

-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 of the user.

エイリアス

なし

必須?

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 replications groups. You can specify multiple groups, separated by commas, as well as wildcard characters (*).

エイリアス

RG,RgName

必須?

false

位置は?

1

既定値

なし

パイプライン入力を許可する

True (ByValue, ByPropertyName)

ワイルドカード文字を許可する

true

-IncludeSysvol

Indicates that the cmdlet retrieves the special Domain System Volume replication group that domain controllers create. This replication group contains the SYSVOL Share replicated folder. DFS Replication does not allow direct modification of SYSVOL due to internal blocks, and this parameter is provided for convenience only so that administrators can inventory if a domain contains DFSR SYSVOL.

エイリアス

なし

必須?

false

位置は?

named

既定値

なし

パイプライン入力を許可する

false

ワイルドカード文字を許可する

false

<CommonParameters>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • string

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

    An object that contains the properties of a DFS replication group

Example 1: Retrieve replication groups

This command retrieves the RG02 replication group for inventory or use in other pipelines.

PS C:\> Get-DfsReplicationGroup -GroupName RG02

Example 2: Retrieve replication groups and SYSVOL shared volume

This command retrieves all replication groups for inventory, including the special Domain System Volume resource group created by domain controllers. By default, this resource group is not returned as its management is controlled by Active Directory.

PS C:\> Get-DfsReplicationGroup -GroupName * -IncludeSysvol

関連トピック

New-DfsReplicationGroup

Remove-DfsReplicationGroup

Set-DfsReplicationGroup

Suspend-DfsReplicationGroup

Sync-DfsReplicationGroup