Hey MKguy, thanks for the script, its great!
I ran it, but i see many luns where the "vm space used GB" is far more compared to the "CapacityGB" of the lun.
Some of them have a very large discrepancies, for example: Name=vnx_gold-01, CapacityGB = 2151, Datastore used space=2037, VM space used=8302, VM space provisioned=8302
Since there are many luns in a datastore, does this mean the vm's have used up the full 2.1TB from this lun and another 6.2TB from other luns in the datastore?