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>] |
Detailed Description
This cmdlet returns existing NetApp storage snapshots.
You can get the list of all storage snapshots, or look for a specific snapshot by name or associated 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 returns the list of all snapshots.
Example 2
This example shows how to get snapshots of a specific volume.
You will need to perform the following steps:
- 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.
Related Commands