Remove-NetAppSnapshot
Short Description
Removes NetApp storage snapshots.
Note |
If the four-eyes authorization is enabled, you cannot run this cmdlet. For more information, see the Four-Eyes Authorization section in the User Guide for VMware vSphere. |
Applies to
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Remove-NetAppSnapshot -Snapshot <CSanSnapshot[]> [<CommonParameters>] |
Detailed Description
This cmdlet permanently removes a selected NetApp storage snapshot from your virtual infrastructure.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Snapshot | Specifies the array of snapshots. The cmdlet will remove these snapshots. | Accepts the CSanSnapshot[] object. To get this object, run the Get-NetAppSnapshot cmdlet. | True | Named | True (ByValue, |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Removing NetApp Storage Snapshot
This example shows how to remove the NetApp storage snapshot.
$snapshot = Get-NetAppSnapshot -Name "vol1_SS_1" Remove-NetAppSnapshot -Snapshot $snapshot |
Perform the following steps:
- Run the Get-NetAppSnapshot cmdlet. Specify the Name parameter value. Save the result to the $snapshot variable.
- Run the Remove-NetAppSnapshot cmdlet. Set the $snapshot variable as the Snapshot parameter value.
Related Commands