Editar

Compartir a través de


Get-DfsrConnection

Gets a connection between DFS Replication partners.

Syntax

Get-DfsrConnection
   [[-GroupName] <String[]>]
   [[-SourceComputerName] <String>]
   [[-DestinationComputerName] <String>]
   [[-DomainName] <String>]
   [<CommonParameters>]

Description

The Get-DfsrConnection cmdlet gets an existing connection between two Distributed File System (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.

Examples

Example 1: Get a one-way connection between computers

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


GroupName               : RG24
SourceComputerName      : SRV01
DestinationComputerName : SRV02
DomainName              : corp.contoso.com
Identifier              : c33eaaf1-9e50-4510-8484-68271bf93b25
Enabled                 : True
RdcEnabled              : True
CrossFileRdcEnabled     : True
Description             :
MinimumRDCFileSizeInKB  : 64
State                   : Normal

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

Parameters

-DestinationComputerName

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

Type:String
Aliases:ReceivingMember, RMem
Position:2
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:True

-DomainName

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.

Type:String
Position:100
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False

-GroupName

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

Type:String[]
Aliases:RG, RgName
Position:0
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:True

-SourceComputerName

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

Type:String
Aliases:SendingMember, SMem
Position:1
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:True

Inputs

Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Outputs

Microsoft.DistributedFileSystemReplication.DfsrConnection