Get-DfsrIdRecord
Get-DfsrIdRecord
Gets ID records for replicated files or folders from the DFS Replication database.
Syntaxe
Parameter Set: PathParameterSet
Get-DfsrIdRecord [-Path] <String[]> [[-ComputerName] <String> ] [ <CommonParameters>]
Parameter Set: UidParameterSet
Get-DfsrIdRecord [-Uid] <String[]> [[-ComputerName] <String> ] [ <CommonParameters>]
Description détaillée
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.
Paramètres
-ComputerName<String>
Specifies the name of a replication member computer. If you do not specify this parameter, the cmdlet uses the current computer.
Alias |
none |
Obligatoire ? |
false |
Position ? |
2 |
Valeur par défaut |
[local computer] |
Accepter l’entrée de pipeline ? |
false |
Accepter les caractères génériques ? |
false |
-Path<String[]>
Specifies an array of paths for files or folders. If you specify this parameter, do not specify the Uid parameter.
Alias |
FullName |
Obligatoire ? |
true |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
True (ByValue, ByPropertyName) |
Accepter les caractères génériques ? |
false |
-Uid<String[]>
Specifies an array of UIDs for files or folders. If you specify this parameter, do not specify the Path parameter.
Alias |
none |
Obligatoire ? |
true |
Position ? |
1 |
Valeur par défaut |
none |
Accepter l’entrée de pipeline ? |
True (ByValue, ByPropertyName) |
Accepter les caractères génériques ? |
false |
<CommonParameters>
Cette applet de commande prend en charge les paramètres courants : -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer et -OutVariable. Pour plus d’informations, consultez about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entrées
Le type d’entrée correspond au type des objets que vous pouvez transmettre à l’applet de commande.
- string
Sorties
Le type de sortie est le type des objets émis par l’applet de commande.
- DfsrIdRecord
Exemples
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"