Remove-StoragePluginSnapshot

Short Description

Removes snapshots of Universal Storage API integrated systems.

Note

If the four-eyes authorization is enabled, you cannot run this cmdlet. For more information, see the Four-Eyes Authorization section in the User Guide for VMware vSphere.

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Storage System: IBM Spectrum Virtualize, INFINIDAT InfiniBox, Pure Storage

Syntax

Remove-StoragePluginSnapshot -Snapshot <ISanSnapshot[]> [<CommonParameters>]

Detailed Description

This cmdlet permanently removes a selected storage snapshot from your virtual infrastructure.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Snapshot

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

Accepts the CSanSnapshot[] object. To get this object, run the Get-StoragePluginSnapshotReturns snapshots of Universal Storage API integrated systems. cmdlet.

ISanSnapshot[]

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Removing Snapshots of Several Volumes

This example shows how to remove snapshots of several volumes.

$storage = Get-StoragePluginHost -Name "IBM Spectrum"

$volume1 = Get-StoragePluginVolume -Host $storage -Name "VOLUME-01"

$volume2 = Get-StoragePluginVolume -Host $storage -Name "VOLUME-02"

$snapshot = Get-StoragePluginSnapshot -Volume $volume1, $volume2

Remove-StoragePluginSnapshot -Snapshot $snapshot

Perform the following steps:

  1. Get the volume snapshots you want to remove. To do this, perform the following steps:
    • Run the Get-StoragePluginHostReturns Universal Storage API integrated systems. cmdlet. Specify the Name parameter value. Save the result to the $storage variable.
    • Run the Get-StoragePluginVolumeReturns volumes of Universal Storage API integrated systems added to the backup infrastructure. cmdlet. Set the $storage variable as the Host parameter value. Specify the Name parameter value. Save each volume to a separate variable: $volume1, $volume2, etc.
    • Run the Get-StoragePluginSnapshotReturns snapshots of Universal Storage API integrated systems. cmdlet. Set the $volume1 and $volume2 variables as the Volume parameter value. Save the result to the $snapshot variable.
  2. Run the Remove-StoragePluginSnapshot cmdlet. Set the $snapshot variable as the Snapshot parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18