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. |
Platform: VMware
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Remove-NetAppSnapshot -Snapshot <ISanSnapshot[]> [<CommonParameters>] |
Detailed Description
This cmdlet permanently removes a selected NetApp storage snapshot from your virtual infrastructure.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Snapshot |
Specifies the array of snapshots. The cmdlet will remove these snapshots.
Accepts the |
|
True |
Named |
True (ByPropertyName, 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-NetAppSnapshotReturns NetApp storage snapshots. cmdlet. Specify theNameparameter value. Save the result to the$snapshotvariable. - Run the
Remove-NetAppSnapshotcmdlet. Set the$snapshotvariable as theSnapshotparameter value.
Related Commands
Get-NetAppSnapshotReturns NetApp storage snapshots.