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

Remove-NetAppSnapshot

In this article

    Short Description

    Removes NetApp storage snapshots.

    Applies to

    Platform: VMware

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

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

    Related Commands

    Get-NetAppSnapshot

    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 (by Value
    FromPipeline, ValueFromPipeline
    ByPropertyName)

    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 the snapshot with name "vol1_SS_1".

    The snapshot object is obtained with Get-NetAppSnapshot and piped down.

    PS C:\PS> Get-NetAppSnapshot -Name "vol1_SS_1" | Remove-NetAppSnapshot