ConvertFrom-DfsrGuid

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

ConvertFrom-DfsrGuid

Translates GUIDs to friendly names within a given replication group.

구문

Parameter Set: Default
ConvertFrom-DfsrGuid [-GroupName] <String[]> [-Guid] <Guid[]> [[-DomainName] <String> ] [ <CommonParameters>]

자세한 설명

The ConvertFrom-DfsrGuid cmdlet translates Distributed File System (DFS) Replication GUIDs to friendly names within a given replication group. DFS Replication uses GUIDs to represent the friendly names of various objects and metadata. DFS Replication writes these GUIDs to Active Directory, XML files, the event log, and debug logs. This cmdlet converts GUIDs for connections (connid), replicated folders (csid), replication groups (rgid), volumes (volumeid), members (memberid), and databases (dbguid).

매개 변수

-DomainName<String>

Specifies the NetBIOS name or fully qualified domain name (FQDN) for the Active Directory Domain Service (AD DS) domain that contains the replication group. If you do not specify this parameter, the cmdlet uses the domain of the current user.

별칭

none

필수 여부

false

위치

101

기본값

none

파이프라인 입력 허용 여부

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 replication groups. You can use a comma separated list and the wildcard character (*).

별칭

RG,RgName

필수 여부

true

위치

1

기본값

none

파이프라인 입력 허용 여부

True (ByValue, ByPropertyName)

와일드카드 문자 허용 여부

false

-Guid<Guid[]>

Specifies an array of GUID values to convert to a friendly name.

별칭

none

필수 여부

true

위치

2

기본값

none

파이프라인 입력 허용 여부

True (ByPropertyName)

와일드카드 문자 허용 여부

false

<CommonParameters>

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

입력

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

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup, Guid

출력

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

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup, Microsoft.DistributedFileSystemReplication.DfsReplicatedFolder, Microsoft.DistributedFileSystemReplication.DfsrMember, Microsoft.DistributedFileSystemReplication.DfsrMembership, Microsoft.DistributedFileSystemReplication.DfsrConnection, Microsoft.DistributedFileSystemReplication.DfsrVolume

Convert a GUID to a friendly name

This command uses the ConvertFrom-DfsrGuid cmdlet to convert a replicated folder GUID to its friendly details.

PS C:\> ConvertFrom-DfsrGuid -GroupName RG01 -Guid 9268F23A-7701-4184-8B8B-4BFDBB8AC411

Example 2: Determine which server originated a file modification

This example looks up a Global Version Sequence Number (GUID) for a file, and then looks up the name of the server that originated that change.

The first command uses the Get-DfsrIdRecord cmdlet to lookup a file’s Global Version Sequence Number (GUID).

The second command looks up the server that originated the change.

PS C:\> Get-DfsrIdRecord -Path C:\rf01\canary.bmp | Format-List global* GlobalVersionSequenceNumber : {B34A6F21-A20D-402D-9BE1-467309C21CDF}-v20
PS C:\> ConvertFrom-DfsrGuid -GroupName Rg01 -guid B34A6F21-A20D-402D-9BE1-467309C21CDF