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>
이 cmdlet은 일반 매개 변수 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer 및 -OutVariable을 지원합니다. 자세한 내용은 다음을 참조하세요. about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216).
입력
입력 유형은 cmdlet에 파이프할 수 있는 개체의 유형입니다.
- string
출력
출력 유형은 cmdlet이 내보내는 개체의 유형입니다.
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