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>

このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。

入力

入力型は、コマンドレットにパイプできるオブジェクトの型です。

  • string

出力

出力型は、コマンドレットによって生成されるオブジェクトの型です。

  • 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