Add-NetAppSnapshot

In this article

    Short Description

    Creates NetApp storage snapshots.

    Applies to

    Platform: VMware

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

    Syntax

    Add-NetAppSnapshot -Volume <CSanVolume> [-Name <String>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Detailed Description

    This cmdlet creates a snapshot of a selected NetApp 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

    <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 create a snapshot of the "Vol 01" volume.

    You will need to perform the following steps:

    1. Run Get-NetAppHost to get the host where the volume is located. Save the result to the $apphost variable.
    2. Run Get-NetAppVolume with the $apphost variable to get the volume. Pipe it down to Add-NetAppSnapshot.

    $apphost = Get-NetAppHost -Name "NetApp Store"

    Get-NetAppVolume -Host $apphost -Name "Vol 01" | Add-NetAppSnapshot -Name "vol_SS_01"

    Related Commands

    Get-NetAppVolume