Get-DfsrConnection

Get-DfsrConnection

Gets a connection between DFS Replication partners.

语法

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

详细说明

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.

参数

-DestinationComputerName<String>

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

别名

ReceivingMember,RMem

是否为必需?

false

位置?

3

默认值

是否接受管道输入?

True (ByPropertyName)

是否接受通配符?

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.

别名

是否为必需?

false

位置?

101

默认值

[Current Domain]

是否接受管道输入?

True (ByPropertyName)

是否接受通配符?

false

-GroupName<String[]>

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

别名

RG,RgName

是否为必需?

false

位置?

1

默认值

是否接受管道输入?

True (ByValue, ByPropertyName)

是否接受通配符?

true

-SourceComputerName<String>

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

别名

SendingMember,SMem

是否为必需?

false

位置?

2

默认值

是否接受管道输入?

True (ByPropertyName)

是否接受通配符?

false

<CommonParameters>

此 cmdlet 支持通用参数:-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer 和 -OutVariable。有关详细信息,请参阅 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

输入

输入类型是指可通过管道传送给 cmdlet 的对象的类型。

  • Microsoft.DistributedFileSystemReplication.DfsReplicationGroup

输出

输出类型是 cmdlet 所发出对象的类型。

  • Microsoft.DistributedFileSystemReplication.DfsrConnection

示例

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"

相关主题

Add-DfsrConnection

Set-DfsrConnection

Remove-DfsrConnection