VMware Cloud Community
jingleharish
Contributor
Contributor

VM Snapshots

I am currently looking out for a script to report all hidden (orphend) snapshots as some of the VM's went down due to these pending snapshots also it was not displyed in snapshot manager for the VM. I am currently using the following one liners to display all the available delta vmdk's

get-vm | get-harddisk | where { $_.filename -like "*-0*.vmdk"} | Select * | export-csv C:\SS_Report.csv

I am not sure if the reported vmdk's are snapshot delta vmdk or hdden vmdk.

Your help is highly appriciated here

Tags (1)
Reply
0 Kudos
1 Reply
LucD
Leadership
Leadership

There's an ingenious oneliner by Raphael that shows you all orphaned disks.

The output (from the Compare-Object cmdlet) takes a bit getting used to, but it produces a very good report.

If you need a translation let me know.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos