Get-DfsrState

적용 대상: Windows 10, Windows Server Technical Preview

Get-DfsrState

Gets the DFS Replication state for a member.

구문

Parameter Set: Default
Get-DfsrState [[-ComputerName] <String> ] [ <CommonParameters>]

자세한 설명

The Get-DfsrState cmdlet gets the overall Distributed File System (DFS) Replication state for a computer in regard to its replication group partners. The cmdlet returns both inbound and outbound file replication information, such as files currently replicating and files immediately queued to replicate next.

매개 변수

-ComputerName<String>

Specifies an array of names of computers. The cmdlet adds these computers to the replication group specified by the GroupName parameter. You can use a comma separated list and the wildcard character (*).

별칭

Member,Mem

필수 여부

false

위치

1

기본값

none

파이프라인 입력 허용 여부

True (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

<CommonParameters>

이 cmdlet은 -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable 등의 일반 매개 변수를 지원합니다. 자세한 내용은 TechNet의 about_CommonParameters(https://go.microsoft.com/fwlink/p/?LinkID=113216)

입력

입력 형식은 cmdlet으로 파이프할 수 있는 개체의 형식입니다.

  • String

출력

출력 형식은 cmdlet 실행 시 출력되는 개체의 형식입니다.

  • Microsoft.DistributedFileSystemReplication.DfsrUpdate

Example 1: Get the DFS Replication state for a member

This command gets the list of files currently replicating or queued inbound and outbound from the computer named SRV01.

PS C:\> Get-DfsrState -ComputerName "SRV01" | Format-Table filename,updatestate,inbound,source* -auto -wrap

관련 항목

Get-DfsReplicationGroup