Edit

Share via


Get-DfsrConnection

Gets a connection between DFS Replication partners.

Syntax

Default (Default)

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:True
DontShow:False
Aliases:ReceivingMember, RMem

Parameter sets

(All)
Position:2
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:100
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

-GroupName

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

Parameter properties

Type:

String[]

Default value:None
Supports wildcards:True
DontShow:False
Aliases:RG, RgName

Parameter sets

(All)
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-SourceComputerName

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

Parameter properties

Type:String
Default value:None
Supports wildcards:True
DontShow:False
Aliases:SendingMember, SMem

Parameter sets

(All)
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:True
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

Outputs

Microsoft.DistributedFileSystemReplication.DfsrConnection