Export (0) Print
Expand All

Get-DfsrIdRecord

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Get-DfsrIdRecord

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

Syntax

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

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




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

Parameters

-ComputerName<String>

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


Aliases

none

Required?

false

Position?

2

Default Value

[local computer]

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Path<String[]>

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


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Uid<String[]>

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


Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

True (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters.

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • string

Outputs

The output type is the type of the objects that the cmdlet emits.

  • DfsrIdRecord

Examples

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

Related topics

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft