Get-DfsrState

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 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

기본값

[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이 내보내는 개체의 유형입니다.

  • 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