Just wanted to share couple of 1 liners related to Snapshots listing and deletion

List all the Snapshots
————————————–

Get-VM | Get-Snapshot

Delete all the Snapshots
——————————————

$snapshot = Get-VM | Get-Snapshot
Remove-Snapshot -Snapshot $snapshot -RemoveChildren -Confirm:$False

One thought on “Snapshots

Leave a Reply

Your email address will not be published. Required fields are marked *