Get-DfsrState

Get-DfsrState

Gets the DFS Replication state for a member.

Sintaxis

Parameter Set: Default
Get-DfsrState [[-ComputerName] <String> ] [ <CommonParameters>]

Descripción detallada

The Get-DfsrState cmdlet gets the overall DFS Replication state for a computer in regard to its replication group partners. The cmdlet returns both inbound and outbound file replication information, such as files currently replicating and files immediately queued to replicate next.

Parámetros

-ComputerName<String>

Specifies an array of names of computers. The cmdlet adds these computers to the replication group specified by the GroupName parameter. You can use a comma separated list and the wildcard character (*).

Alias

Member,Mem

¿Requerido?

false

¿Posición?

1

Valor predeterminado

[local computer]

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

  • microsoft.distributedfilesystemreplication.dfsrupdate

Ejemplos

Example 1: Get the DFS Replication state for a member

This command gets the list of files currently replicating or queued inbound and outbound from the computer named SRV01.

PS C:\> Get-DfsrState -ComputerName "SRV01" | Format-Table filename,updatestate,inbound,source* -auto -wrap

Temas relacionados

Get-DfsReplicationGroup