Get-EmcReplicationServiceSite

Gets the list of replication sites, which contains all of the replication systems in the site.

 

Syntax

 

Parameters

-ID <String>

Attributes: Optional, Position: 1

Specifies the site name or site ID of the replication site. Wildcards are permitted.

 

-ReplicationService <IReplicationService>

Attributes: Optional, Position: named

Specifies the replication service that owns and manages the replication site.

 

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

 

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

$site = Get-EmcReplicationServiceSite -ReplicationService $service -ID *Site4*

This example gets a replication service site for a specified replication service.

 

-------------- Example 2 --------------

C:\PS>$service = Get-EmcReplicationService -ID *60*

$cluster = Get-EmcReplicationServiceCluster -ReplicationService $service

$site = Get-EmcReplicationServiceSite -ReplicationServiceCluster $cluster -ID *Site4*

This example gets a replication service site for a specified replication service cluster.