< Back

Get-SpbmReplicationPair

Sun Jan 19, 2020 7:15 pm

NAME 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>]





DESCRIPTION

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





PARAMETERS

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



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-Source <SpbmReplicationGroup[]>

Specifies the source replication group.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-SourceFaultDomain <SpbmFaultDomain[]>

Specifies the list of fault domains to get source replication group of the pair.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



-Target <SpbmReplicationGroup[]>

Specifies the target replication group.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-TargetFaultDomain <SpbmFaultDomain[]>

Specifies the list of fault domains to get target replication group of the pair.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? true



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS

Zero or more SpbmReplicationPair objects







NOTES









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

Online Version: https://code.vmware.com/doc/preview?id= ... nPair.html