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

Add-HP3Snapshot

Short Description

Creates HPE 3PAR StoreServ storage snapshots.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Storage System: HPE 3PAR StoreServ

Syntax

Add-HP3Snapshot -Volume <CSanVolume> [-Name <string>][-Description <string>][<CommonParameters>]

Detailed Description

This cmdlet creates a snapshot of a selected HPE 3PAR StoreServ storage volume.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Volume

Specifies the storage volume for which you want to take snapshot.

True

Named

True (ByValue,
ByProperty
Name)

False

Name

Specifies the name you want to assign to the snapshot.

False

Named

False

False

Description

Specifies the description of the snapshot.

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

This example shows how to create a snapshot of the HPE 3PAR StoreServ storage volume.

You will need to perform the following steps:

  1. Run Get-HP3Storage to get the storage and save it to the $storage variable.
  2. Run Get-HP3Volume with the $storage variable. Save the volume to the $volume variable.
  3. Run Add-HP3Snapshot with the $volume variable.

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

$volume = Get-HP3Volume -Storage $storage

Add-HP3Snapshot -Volume $volume -Name "vol_SS_01" -Description "Vol 01 snapshot"

Related Commands

Get-HP3Volume