Get-DfsrIdRecord

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

Syntax

Get-DfsrIdRecord
   [-Path] <String[]>
   [[-ComputerName] <String>]
   [<CommonParameters>]
Get-DfsrIdRecord
   [-Uid] <String[]>
   [[-ComputerName] <String>]
   [<CommonParameters>]

Description

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.

Examples

Example 1: Get an ID record for a specified path

PS C:\> Get-DfsrIdRecord -Path "C:\RF01\Accounting 2013.xlsx"
Identifier                  : {031C15B7-397D-4F99-A340-B1C7931EEE01}-v12
Flags                       : 5
Attributes                  : 32
GlobalVersionSequenceNumber : {9F159608-2199-4D8B-B9F5-51D83A778089}-v11
UpdateSequenceNumber        : 77158344
ParentId                    : {1D69BB80-C1DC-4D87-8259-BBD9639C2A7F}-v1
FileId                      : 562949953494937
Volume                      : \\.\C:
Fence                       : 3
Clock                       : 130096051943887948
CreateTime                  : 4/4/2013 6:26:59 PM
UpdateTime                  : 4/4/2013 8:13:14 PM
FileHash                    : 89de8fbaba0b700b 9b2a6b771ee17921
FileName                    : accounting 2013.xlsx
FullPathName                : C:\RF01\Accounting 2013.xlsx
Index                       : 4
ReplicatedFolderId          : 1d69bb80-c1dc-4d87-8259-bbd9639c2a7f

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

Required Parameters

-Path

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

Type:String[]
Aliases:FullName
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False
-Uid

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

Type:String[]
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-ComputerName

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

Type:String
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

String

Outputs

DfsrIdRecord