The get-snapshot cmdlet doesn't seem to be grabbing the size correctly. I'm just doing this... Get-VM | Get-Snapshot | Select-Object -property VM,name,Description, SizeMB. The size appears to be close to the size of the actual vmdk files. I would expect to see the actual size of the snapshot. Here is some example output that I am seeing. Names have been changed to protect the guilty.
Appvm 71680.03
Webvm 71680.03
Both VMs have were configured with 2 disks(30 & 40GB). According to vCenter the app vm used storage is 73.27GB and the web vm's used storage is 72.58GB. The provisioned storage for both of them is showing 142GB..?
Thanks,
Jason Horn
I get the same results as you, wonder if this is a bug
You're not alone.
See
____________
Blog: LucD notes
Twitter: lucd22
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi guys,
Look at the blog post about snapshot size -> http://blogs.vmware.com/vipowershell/2010/09/snapshot-size.html
It describes how the snapshot size is calculated. Also you can find a script that can be used now to get correctly calculated snapshot size.
Vitali
PowerCLI team