Automation

 View Only
  • 1.  VM Snapshots

    Posted Mar 08, 2011 03:53 PM

    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



  • 2.  RE: VM Snapshots

    Posted Mar 08, 2011 04:46 PM

    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.