Share via


Get-DfsrConnection

Get-DfsrConnection

Gets a connection between DFS Replication partners.

Syntaxe

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

Description détaillée

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.

Paramètres

-DestinationComputerName<String>

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

Alias

ReceivingMember,RMem

Obligatoire ?

false

Position ?

3

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

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

none

Obligatoire ?

false

Position ?

101

Valeur par défaut

[Current Domain]

Accepter l’entrée de pipeline ?

True (ByPropertyName)

Accepter les caractères génériques ?

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

Obligatoire ?

false

Position ?

1

Valeur par défaut

none

Accepter l’entrée de pipeline ?

True (ByValue, ByPropertyName)

Accepter les caractères génériques ?

true

-SourceComputerName<String>

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

Alias

SendingMember,SMem

Obligatoire ?

false

Position ?

2

Valeur par défaut

none

Accepter l’entrée de pipeline ?

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

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Sorties

Le type de sortie est le type des objets émis par l’applet de commande.

  • Microsoft.DistributedFileSystemReplication.DfsrConnection

Exemples

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"

Rubriques connexes

Add-DfsrConnection

Set-DfsrConnection

Remove-DfsrConnection