PowerCLI Reference

Get-SpbmReplicationPair

Synopsis

This cmdlet retrieves the relation of replication groups in a pair of source and target replication group.

Syntax

Get-SpbmReplicationPair [-SourceFaultDomain <SpbmFaultDomain[]>] [-TargetFaultDomain <SpbmFaultDomain[]>] [-Source <SpbmReplicationGroup[]>] [-Target <SpbmReplicationGroup[]>] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves the relation of replication groups in a pair of source and target replication group.

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsefalse
SourceSpbmReplicationGroup[]Specifies the source replication group.falsefalse
SourceFaultDomainSpbmFaultDomain[]Specifies the list of fault domains to get source replication group of the pair.falsefalse
TargetSpbmReplicationGroup[]Specifies the target replication group.falsefalse
TargetFaultDomainSpbmFaultDomain[]Specifies the list of fault domains to get target replication group of the pair.falsefalse

Return Type

Zero or more SpbmReplicationPair objects

Notes

Examples

-------------- Example 1 --------------

Get-SpbmReplicationPair -Source $rg

Retrieves replication pairs for which the $rg replication group is source group.

-------------- Example 2 --------------

Get-SpbmReplicationPair -SourceFaultDomain $sourceFd -TargetFaultDomain $targetFd

Retrieves replication pairs for which the source replication group is in the $sourceFd fault domain and the target replication group is in the $targetFd fault domain.


Copyright © VMware, Inc. All rights reserved.