Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 227869

Re: Remove snapshots using script

$
0
0

Then you could try like this

 

$vmlist=Get-Content"C:\VM\Snapshots\vmlists.txt"

foreach($VMin$VMlist) {

    Get-Snapshot-VM $vm|where{$_.Description-eq'Prior to install VM Hardware'} |

    Remove-Snapshot-Confirm:$false

}

Disconnect-VIServer-Confirm:$false


Viewing all articles
Browse latest Browse all 227869

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>