Remove-NimbleSnapshot
Short Description
Removes HPE Nimble 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-NimbleSnapshot -Snapshot <ISanSnapshot[]> [<CommonParameters>] |
Detailed Description
This cmdlet permanently removes a selected HPE Nimble 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
Remove Snapshots of Several HPE Nimble Storage Volumes
This example shows how to remove snapshots of several HPE Nimble storage volumes.
|
$storage = Get-NimbleHost -Name "HPE Nimble-FC" $volume1 = Get-NimbleVolume -Host $storage -Name "VOL01" $volume2 = Get-NimbleVolume -Host $storage -Name "VOL02" $snapshot = Get-NimbleSnapshot -Volume $volume1, $volume2 Remove-NimbleSnapshot -Snapshot $snapshot |
Perform the following steps:
- Get the volume snapshots you want to remove.
- Run the
Get-NimbleHostReturns HPE Nimble storage systems. cmdlet. Specify theNameparameter value. Save the result to the$storagevariable. - Run the
Get-NimbleVolumeReturns HPE Nimble volumes added to the backup infrastructure. cmdlet. Set the$storagevariable as theHostparameter value. Save each volume to a separate variable:$volume1,$volume2, etc. - Run the
Get-NimbleSnapshotReturns HPE Nimble storage snapshots. cmdlet. Set the$volume1and$volume2variables as theVolumeparameter values. Save the result to the$snapshotvariable.
- Run the
- Run the
Remove-NimbleSnapshotcmdlet. Set the$snapshotvariable as theSnapshotparameter value.
Related Commands
Get-NimbleHostReturns HPE Nimble storage systems.Get-NimbleVolumeReturns HPE Nimble volumes added to the backup infrastructure.Get-NimbleSnapshotReturns HPE Nimble storage snapshots.