Get Used rather than Provisioned space in PowerCLI

Posted by Matt on Server Fault See other posts from Server Fault or by Matt
Published on 2012-03-05T05:48:31Z Indexed on 2012/04/06 17:32 UTC
Read the original article Hit count: 230

Filed under:
|

I'm trying to run a capacity report, and when I run the Get-HardDisk cmdlet in PowerCLI, the value it returns for CapacityKB is the Provisioned space. For example, let's say I've thin provisioned a 200GB disk, which is currently using say 30GB, it returns the 200GB value.

Is there any way I can get the other value? I need to know how much disk space is actually being used on the LUN by the vmdk file. My PowerCLI version is 5.0.1.

© Server Fault or respective owner

Related posts about vmware-vsphere

Related posts about powercli