Syntax
Get-EmcReplicationSystem [[-ID] <String>] [-ReplicationService <IReplicationService>] [-Silent] [<CommonParameters>]
Get-EmcReplicationSystem [[-ID] <String>] [-Silent] [-ReplicationServiceCluster <ReplicationServiceCluster>] [<CommonParameters>]
Get-EmcReplicationSystem [[-ID] <String>] [-Silent] [-ReplicationServiceSite <ReplicationServiceSite>] [<CommonParameters>]
Parameters
-ID <String>
Attributes: Optional, Position: 1
Specifies the system name or system ID of the replication system. Wildcards are permitted.
-ReplicationService <IReplicationService>
Attributes: Optional, Position: named
Specifies the replication service that owns and manages the replication system.
-Silent <SwitchParameter>
Attributes: Optional, Position: named
Turns off all the informational and verbose messages. However, it still displays errors.
-ReplicationServiceCluster <ReplicationServiceCluster>
Attributes: Optional, Position: named
Specifies the replication cluster that owns and manages the replication system.
-ReplicationServiceSite <ReplicationServiceSite>
Attributes: Optional, Position: named
Specifies the replication site in which the replication system resides.
<CommonParameters>
This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.
Examples
-------------- Example 1 --------------
C:\PS>$service = Get-EmcReplicationService -ID *60*
$system = Get-EmcReplicationSystem -ReplicationService $service -ID *Site4*RPA*1*
This example gets a replication system for a specified replication service.
-------------- Example 2 --------------
C:\PS>$service = Get-EmcReplicationService -ID *60*
$cluster = Get-EmcReplicationServiceCluster -ReplicationService $service
$system = Get-EmcReplicationSystem -ReplicationServiceCluster $cluster -ID *Site4*RPA*1*
This example gets a replication system for a specified replication service cluster.
-------------- Example 3 --------------
C:\PS>$service = Get-EmcReplicationService -ID *60*
$cluster = Get-EmcReplicationServiceCluster -ReplicationService $service
$site = Get-EmcReplicationServiceSite -ReplicationServiceCluster $cluster -ID *Site4*
$system = Get-EmcReplicationSystem -ReplicationServiceSite $site -ID *Site4*RPA*1*
This example gets a replication system for a specified replication service site.