Hello,
I have created snapshots for many VMs with the description:"Prior to install VM Hardware"
Can someone please tell me how to remove those snapshots that has a description : "Prior to install VM Hardware"
$vmlist = Get-Content "C:\VM\Snapshots\vmlists.txt"
foreach($VM in $VMlist) {
Get-Snapshot -VM $vm |
Remove-Snapshot -Confirm:$false
}
Disconnect-VIServer -Confirm:$false