Get-NetAppSnapshot
Short Description
Returns NetApp storage snapshots.
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Get-NetAppSnapshot [-Name <String[]>] [-Volume <CSanVolume[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Related Commands
Detailed Description
This cmdlet returns NetApp storage snapshots.
You can get the list of all storage snapshots, or look for a specific snapshot name or volume.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Name | Specifies the array of the snapshot names. The cmdlet will return the snapshots with these names. | False | Named | False | False |
Volume | Specifies the array of volumes. The cmdlet will return the snapshots of these volumes. | 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 1
This command looks for the list of all snapshots.
Example 2
This command looks for snapshots of a specific volume.
- Run Get-NetAppVolume to get all NetApp volumes. Select the last volume in the list. Save the result to the $vol variable.
- Run Get-NetAppSnapshot with the saved variable.