Get-SnapshotRule
SYNOPSIS
Gets details of snapshot rules on the PowerStore cluster.
SYNTAX
All (Default)
Get-SnapshotRule [-Cluster] <Cluster> [<CommonParameters>]
ByName
Get-SnapshotRule [-Cluster] <Cluster> [-Name] <String[]> [<CommonParameters>]
ById
Get-SnapshotRule [-Cluster] <Cluster> -Id <String[]> [<CommonParameters>]
DESCRIPTION
Gets details of snapshot rules on the PowerStore cluster.
EXAMPLES
Example 1
PS C:\> Get-SnapshotRule -Cluster $cluster
Where $cluster is a PowerStore cluster instance. Gets details of all snapshot rules on the PowerStore cluster.
Example 2
PS C:\> Get-SnapshotRule -Cluster $cluster -Name snapRule1,snapRule2
Where $cluster is a PowerStore cluster instance. Gets details of the snapshot rules with names snapRule1 and snapRule2.
Example 3
PS C:\> Get-SnapshotRule -Cluster $cluster -Id snapId1,snapId2
Where $cluster is a PowerStore cluster instance. Gets details of the snapshot rules with Ids snapId1 and snapId2.
PARAMETERS
-Cluster
The PowerStore cluster.
Type: Cluster
Parameter Sets: All, ByName, ById
Aliases:
Required: True
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name
A list of snapshot rule names.
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 snapshot rule Ids.
Type: String[]
Parameter Sets: ById
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
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.