How to remove multiple snapshot by PowerCLI

My SMVI backup job was crashed few days ago, the stupid application generated a lot of snapshots for virtual machine!!! It's  hundred!

I really don't like to remove one by one! That's what I used to clean up the snapshot.
Get-VM | Get-Snapshot -Name smvi* | Remove-Snapshot

I used wildcard smiv*, it means all snapshot that name start with smvi.

Popular posts from this blog

Moving to Blogger.com

How to Use Proxy on WSL 2

Connect-NsxtServer shows "Unable to connect to the remote server"