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

Name | Type | Description | Required? | Pipeline Input | Default Value
--- | --- | --- | --- | --- | ---
Server | VIServer[] | 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. | false | false
Source | SpbmReplicationGroup[] | Specifies the source replication group. | false | false
SourceFaultDomain | SpbmFaultDomain[] | Specifies the list of fault domains to get source replication group of the pair. | false | false
Target | SpbmReplicationGroup[] | Specifies the target replication group. | false | false
TargetFaultDomain | SpbmFaultDomain[] | Specifies the list of fault domains to get target replication group of the pair. | false | false

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.