Get-StorageGroupSnapshot

SYNOPSIS

Gets details of storage group snapshots.

SYNTAX

ByStorageGroupId (Default)

Get-StorageGroupSnapshot [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-StorageGroupId] <String>
 [-Identify] [<CommonParameters>]

BySnapshotId

Get-StorageGroupSnapshot [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-StorageGroupId] <String>
 [-SnapshotId] <String> [<CommonParameters>]

BySnapId

Get-StorageGroupSnapshot [-Unisphere] <UnisphereServer> [-ArrayId] <String> [-StorageGroupId] <String>
 [-SnapshotId] <String> [-SnapId] <Int64> [<CommonParameters>]

DESCRIPTION

Lists the snapshots of a storage group. Lists the snapshot instances of a storage group snapshot. Gets details of a snapshot given its snap ID.

Storage group snapshot operations are only supported for PowerMax arrays with microcode version 5978.669.669 or higher.

EXAMPLES

Example 1

PS C:\> Get-StorageGroupSnapshot -Unisphere $unisphere -ArrayId 000123456789 -StorageGroupId sg1 -Identify

Where $unisphere is a Unisphere server instance. Lists the snapshots of storage group sg1. The output is a list of strings.

Example 2

PS C:\> Get-StorageGroupSnapshot -Unisphere $unisphere -ArrayId 000123456789 -StorageGroupId sg1

Where $unisphere is a Unisphere server instance. Lists the snapshots of storage group sg1.

Example 3

PS C:\> Get-StorageGroupSnapshot -Unisphere $unisphere -ArrayId 000123456789 -StorageGroupId sg1 -SnapshotId hourly

Where $unisphere is a Unisphere server instance. Lists the snapshot instances of snapshot “hourly” for storage group sg1. The output is a list of StorageGroupSnapshot objects.

Example 4

PS C:\> Get-StorageGroupSnapshot -Unisphere $unisphere -ArrayId 000123456789 -StorageGroupId sg1 -SnapshotId hourly -SnapId 41212187393

Where $unisphere is a Unisphere server instance. Gets the snapshot “hourly” with snap ID 41212187393 for storage group sg1. The output is a StorageGroupSnapshot object.

PARAMETERS

-Unisphere

The Unisphere server object.

Type: UnisphereServer
Parameter Sets: (All)
Aliases:

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

-ArrayId

The PowerMax array ID.

Type: String
Parameter Sets: (All)
Aliases:

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

-StorageGroupId

The storage group ID.

Type: String
Parameter Sets: (All)
Aliases:

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

-SnapshotId

The snapshot ID.

Type: String
Parameter Sets: BySnapshotId, BySnapId
Aliases:

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

-SnapId

The snap ID.

Type: Int64
Parameter Sets: BySnapId
Aliases:

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

-Identify

Returns IDs instead of objects.

Type: SwitchParameter
Parameter Sets: ByStorageGroupId
Aliases: List

Required: False
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.

INPUTS

Dell.PowerMax.Management.Model.UnisphereServer

System.String

System.Int64

OUTPUTS

System.String

Dell.PowerMax.Management.Model.StorageGroupSnapshot

NOTES