Get-DfsrIdRecord

Get-DfsrIdRecord

Gets ID records for replicated files or folders from the DFS Replication database.

구문

Parameter Set: PathParameterSet
Get-DfsrIdRecord [-Path] <String[]> [[-ComputerName] <String> ] [ <CommonParameters>]

Parameter Set: UidParameterSet
Get-DfsrIdRecord [-Uid] <String[]> [[-ComputerName] <String> ] [ <CommonParameters>]

자세한 설명

The Get-DfsrIdRecord cmdlet gets ID records for replicated files or folders from the Distributed File System (DFS) Replication database. Specify unique identifiers (UIDs) or file paths. A UID consists of a GUID and a version value.

매개 변수

-ComputerName<String>

Specifies the name of a replication member computer. If you do not specify this parameter, the cmdlet uses the current computer.

별칭

없음

필수 여부

false

위치

2

기본값

[local computer]

파이프라인 입력 적용 여부

false

와일드카드 문자 허용 여부

false

-Path<String[]>

Specifies an array of paths for files or folders. If you specify this parameter, do not specify the Uid parameter.

별칭

FullName

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

True (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

-Uid<String[]>

Specifies an array of UIDs for files or folders. If you specify this parameter, do not specify the Path parameter.

별칭

없음

필수 여부

true

위치

1

기본값

없음

파이프라인 입력 적용 여부

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

  • DfsrIdRecord

예제

Example 1: Get an ID record for a specified path

This command gets the ID record for a file specified by the file path C:\RF01\Accounting 2013.xlsx.

PS C:\> Get-DfsrIdRecord -Path "C:\RF01\Accounting 2013.xlsx"

관련 항목

ConvertFrom-DfsrGuid