Get-DfsrIdRecord
Get-DfsrIdRecord
Gets ID records for replicated files or folders from the DFS Replication database.
Sintaxis
Parameter Set: PathParameterSet
Get-DfsrIdRecord [-Path] <String[]> [[-ComputerName] <String> ] [ <CommonParameters>]
Parameter Set: UidParameterSet
Get-DfsrIdRecord [-Uid] <String[]> [[-ComputerName] <String> ] [ <CommonParameters>]
Descripción detallada
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.
Parámetros
-ComputerName<String>
Specifies the name of a replication member computer. If you do not specify this parameter, the cmdlet uses the current computer.
Alias |
ninguno |
¿Requerido? |
false |
¿Posición? |
2 |
Valor predeterminado |
[local computer] |
¿Aceptar canalización? |
false |
¿Aceptar caracteres comodín? |
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 |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue, ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
-Uid<String[]>
Specifies an array of UIDs for files or folders. If you specify this parameter, do not specify the Path parameter.
Alias |
ninguno |
¿Requerido? |
true |
¿Posición? |
1 |
Valor predeterminado |
ninguno |
¿Aceptar canalización? |
True (ByValue, ByPropertyName) |
¿Aceptar caracteres comodín? |
false |
<CommonParameters>
Este cmdlet admite los siguientes parámetros comunes: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer y -OutVariable. Para obtener más información, consulte about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).
Entradas
El tipo de entrada es el tipo de los objetos que se pueden canalizar al cmdlet.
- string
Salidas
El tipo de resultado es el tipo de objetos que emite el cmdlet.
- DfsrIdRecord
Ejemplos
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"