Get-SpbmReplicationPair

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

Syntax

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

Parameters

Required Parameter Name Type Position Features Description
optional
Server
VIServer[] named
  • wildcards
  • Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.
    optional
    Source
    SpbmReplicationGroup[] named Specifies the source replication group.
    optional
    SourceFaultDomain
    SpbmFaultDomain[] named
  • wildcards
  • Specifies the list of fault domains to get source replication group of the pair.
    optional
    Target
    SpbmReplicationGroup[] named Specifies the target replication group.
    optional
    TargetFaultDomain
    SpbmFaultDomain[] named
  • wildcards
  • Specifies the list of fault domains to get target replication group of the pair.

    Output

    VMware.VimAutomation.Storage.Types.V1.Spbm.Replication.SpbmReplicationGroup

    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.

    Related Commands

    Feedback

    Was this page helpful?