VMware {code} Community
samsvmware
Enthusiast
Enthusiast

VM snapshot Info

Hi All ,

           I need perl sdk sciript to collect all VM snapshot information like (Snapshot Name, Id, Size ...& all his attributes). Can you please let me know the script or any useful links to fetch this information from vmware vsphere web client . Thanks

Reply
0 Kudos
1 Reply
samsvmware
Enthusiast
Enthusiast

I got the script as  from vm entity view .. But I can't able to get the snapshot size .. any idea dude ?

my $vmsnap   = $vm->snapshot->rootSnapshotList->[0]->{'name'};

Reply
0 Kudos