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

Remove-HP4Snapshot

Short Description

Removes HPE StoreVirtual storage snapshots.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Storage system: HPE StoreVirtual (LeftHand/P4000), HPE StoreVirtual VSA

Syntax

Remove-HP4Snapshot -Snapshot <CSanSnapshot[]> [<CommonParameters>]

Related Commands

Get-HP4Snapshot

Detailed Description

This cmdlet permanently removes the selected HPE StoreVirtual storage snapshot from your storage system.

Alias

Remove-VBRHPSnapshot

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Snapshot

Specifies the array of snapshots. The cmdlet will remove these snapshots.

True

Named

True (ByValue,
ByProperty
Name)

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 command removes a selected snapshot.

  1. Run Get-HP4Snapshot to get the snapshot. Save it to the $snapshot variable.
  2. Run Remove-HP4Snapshot with the $snapshot variable.

PS C:\PS> $snapshot = Get-HP4Snapshot -Name "HPE Volume 01 Snapshot"

PS C:\PS> Remove-HP4Snapshot -Snapshot $snapshot