Get-ReplicationRule

SYNOPSIS

Gets details of replication rules on the PowerStore cluster.

SYNTAX

All (Default)

Get-ReplicationRule [-Cluster] <Cluster> [-Identify] [<CommonParameters>]

ByName

Get-ReplicationRule [-Cluster] <Cluster> [-Name] <String[]> [<CommonParameters>]

ById

Get-ReplicationRule [-Cluster] <Cluster> -Id <String[]> [<CommonParameters>]

DESCRIPTION

Gets details of replication rules on the PowerStore cluster.

EXAMPLES

Example 1

PS C:\> Get-ReplicationRule -Cluster $cluster

Where $cluster is a PowerStore cluster instance. Returns all replication rules on the PowerStore cluster.

Example 2

PS C:\> Get-ReplicationRule -Cluster $cluster -Identify

Where $cluster is a PowerStore cluster instance. Returns a list of Identity objects with the Id and Name of each replication rule on the PowerStore cluster.

Example 3

PS C:\> Get-ReplicationRule -Cluster $cluster -Name replicationRule1,replicationRule2

Where $cluster is a PowerStore cluster instance. Returns full details of the replication rules with names replicationRule1 and replicationRule2.

Example 4

PS C:\> Get-ReplicationRule -Cluster $cluster -Id replicationRuleId1,replicationRuleId2

Where $cluster is a PowerStore cluster instance. Returns full details of the replication rules with Ids replicationRuleId1 and replicationRuleId2.

PARAMETERS

-Cluster

PowerStore cluster instance.

Type: Cluster
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Identify

Returns Identity objects which contain the Id and Name properties of each entity.

Type: SwitchParameter
Parameter Sets: All
Aliases: List

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

A list of replication rule names to query.

Type: String[]
Parameter Sets: ByName
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Id

A list of replication rule Ids to query.

Type: String[]
Parameter Sets: ById
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String[]

OUTPUTS

Dell.PowerStore.Management.Model.ReplicationRule

Dell.PowerStore.Management.Model.Identity

NOTES