Compartir a través de


Get-DfsrConnection

Get-DfsrConnection

Gets a connection between DFS Replication partners.

Sintaxis

Parameter Set: Default
Get-DfsrConnection [[-GroupName] <String[]> ] [[-SourceComputerName] <String> ] [[-DestinationComputerName] <String> ] [[-DomainName] <String> ] [ <CommonParameters>]

Descripción detallada

The Get-DfsrConnection cmdlet gets an existing connection between two DFS Replication partners.

DFS Replication connections are the logical partnerships between members in a replication group. The DFS Replication service uses the Remote Procedure Call (RPC) protocol to communicate between servers.

Parámetros

-DestinationComputerName<String>

Specifies the name of the receiving computer. A receiving computer is also called an inbound or downstream computer.

Alias

ReceivingMember,RMem

¿Requerido?

false

¿Posición?

3

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-DomainName<String>

Specifies the NetBIOS name or fully qualified domain name (FQDN) for the Active Directory Domain Service (AD DS) domain that contains the replication group. If you do not specify this parameter, the cmdlet uses the domain of the current user.

Alias

ninguno

¿Requerido?

false

¿Posición?

101

Valor predeterminado

[Current Domain]

¿Aceptar canalización?

True (ByPropertyName)

¿Aceptar caracteres comodín?

false

-GroupName<String[]>

Specifies an array of names of replication groups. You can use a comma separated list and the wildcard character (*).

Alias

RG,RgName

¿Requerido?

false

¿Posición?

1

Valor predeterminado

ninguno

¿Aceptar canalización?

True (ByValue, ByPropertyName)

¿Aceptar caracteres comodín?

true

-SourceComputerName<String>

Specifies the name of the sending computer. A sending computer is also called an outbound or upstream computer.

Alias

SendingMember,SMem

¿Requerido?

false

¿Posición?

2

Valor predeterminado

ninguno

¿Aceptar canalización?

True (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.

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Salidas

El tipo de resultado es el tipo de objetos que emite el cmdlet.

  • Microsoft.DistributedFileSystemReplication.DfsrConnection

Ejemplos

Example 1: Get a one-way connection between computers

This command gets the one-way connection from the computer named SRV01 to the computer named SRV02 in the RG24 replication group.

PS C:\> Get-DfsrConnection -GroupName "RG24" -SourceComputerName "SRV01" -DestinationComputerName "SRV02"

Temas relacionados

Add-DfsrConnection

Set-DfsrConnection

Remove-DfsrConnection