PowerCLI: Get Virtual Machine disk usage
The following script calculates the used and free space of your Virtual Machines and datastores. The end result is exported to a csv file for use in Excel.
read more:
http://www.peetersonline.nl/index.php/vmware/get-vmware-disk-usage-with-powershell/