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

Get-NimbleSnapshot

Short Description

Returns HPE Nimble storage snapshots.

Applies to

Platform: VMware

Product Edition: Enterprise Plus, Veeam Universal License

Syntax

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

Detailed Description

This cmdlet returns HPE Nimble 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 snapshot names. The cmdlet will return the snapshots with these names.

False

Named

False

False

Volume

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

False

Named

True (ByValue,
ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Example 1

This command returns an existing HPE Nimble storage snapshot by name.

Get-NimbleSnapshot -Name "DailySnapshot01"

Example 2

This example shows how to get the existing snapshots of several HPE Nimble storage volumes.

You will need to perform the following steps:

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

$storage = Get-NimbleHost -Name "HPE Nimble-FC"

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

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

Get-NimbleSnapshot -Volume $volume1, $volume2

Related Commands

Get-NimbleHost

Get-NimbleVolume