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 [-Server <VIServer[]>] [-Source <SpbmReplicationGroup[]>] [-SourceFaultDomain <SpbmFaultDomain[]>] [-Target <SpbmReplicationGroup[]>] [-TargetFaultDomain <SpbmFaultDomain[]>] [<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.