Get-DfsrIdRecord
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>]
Detaillierte Beschreibung
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.
Parameter
-ComputerName<String>
Specifies the name of a replication member computer. If you do not specify this parameter, the cmdlet uses the current computer.
Aliasse |
Keiner |
Erforderlich? |
false |
Position? |
2 |
Standardwert |
[local computer] |
Pipelineeingaben akzeptieren? |
false |
Platzhalterzeichen akzeptieren? |
false |
-Path<String[]>
Specifies an array of paths for files or folders. If you specify this parameter, do not specify the Uid parameter.
Aliasse |
FullName |
Erforderlich? |
true |
Position? |
1 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByValue, ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
-Uid<String[]>
Specifies an array of UIDs for files or folders. If you specify this parameter, do not specify the Path parameter.
Aliasse |
Keiner |
Erforderlich? |
true |
Position? |
1 |
Standardwert |
Keiner |
Pipelineeingaben akzeptieren? |
True (ByValue, ByPropertyName) |
Platzhalterzeichen akzeptieren? |
false |
<CommonParameters>
Dieses Cmdlet unterstützt die allgemeinen Parameter: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, -OutVariable. Weitere Informationen finden Sie unter about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Eingaben
Der Eingabetyp ist der Typ der Objekte, die über die Pipeline an das Cmdlet übergeben werden können.
- string
Ausgaben
Der Ausgabetyp ist der Typ der Objekte, die vom Cmdlet ausgegeben werden.
- DfsrIdRecord
Beispiele
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"