This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-HP3Snapshot

Short Description

Returns HPE 3PAR StoreServ storage snapshots.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Storage System: HPE 3PAR StoreServ

Syntax

Get-HP3Snapshot [-Name <string[]>][<CommonParameters>]

-OR-

Get-HP3Snapshot [-Name <string[]>] [-Volume <CSanVolume[]>][<CommonParameters>]

Detailed Description

This cmdlet returns existing HPE 3PAR StoreServ storage snapshots.

You can get the list of all storage snapshots, or look for a specific snapshot by name or associated volume.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

Specifies the array of the snapshot names. The cmdlet will return the snapshots with these names.

False

Named

False

True

Volume

Specifies the array of volumes. The cmdlet will return the snapshots of these volumes.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

This command looks for all existing HPE 3PAR StoreServ storage snapshots.

Get-HP3Snapshot

Example 2

This example shows how to get the existing snapshots of several HPE 3PAR StoreServ storage volumes.

You will need to perform the following steps:

  1. Run Get-HP3Storage to get the storage. Save the result to the $storage variable.
  2. Run Get-HP3Volume with the $storage variable to get the storage volumes. Save each volume to a separate variable: $volume1, $volume2, etc.
  3. Run Get-HP3Snapshot with the $volume1 and $volume2 variables.

$storage = Get-HP3Storage -Name "HPE 3PAR StoreServe Storage"

$volume1 = Get-HP3Volume -Host $storage -Name "VOL01"

$volume2 = Get-HP3Volume -Host $storage -Name "VOL02"

Get-HP3Snapshot -Volume $volume1, $volume2

Related Commands

Get-HP3Storage

Get-HP3Volume