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

Remove-NetAppSnapshot

Short Description

Removes NetApp storage snapshots.

Applies to

Platform: VMware

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

Syntax

Remove-NetAppSnapshot -Snapshot <CSanSnapshot[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

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

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 on common parameters, see the About CommonParameters section of Microsoft Docs.

Example

This example shows how to remove the NetApp storage snapshot.

You will need to perform the following steps:

  1. Run Get-NetAppSnapshot to get the snapshot. Save the result to the $snapshot variable.
  2. Run Remove-NetAppSnapshot with the $snapshot variable.

$snapshot = Get-NetAppSnapshot -Name "vol1_SS_1"

Remove-NetAppSnapshot -Snapshot $snapshot

Related Commands

Get-NetAppSnapshot