Add-NetAppSnapshot
Short Description
Creates NetApp storage snapshots.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Add-NetAppSnapshot -Volume <CSanVolume> [-Name <String>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Related Commands
Detailed Description
This cmdlet creates a snapshot of the selected NetApp volume.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Volume | Specifies the storage volume for which you want to take snapshot. | True | Named | True (by Value | 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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example
This command creates a snapshot of the "Vol 01" volume. The snapshot is named "vol_SS_01".
- Run Get-NetAppHost to get the host where the volume is located. Save the result to the $apphost variable.
- Run Get-NetAppVolume with the $apphost variable to get the volume. Pipe it down to Add-NetAppSnapshot.