Hello,
Is there any way to get the space utlilization by file type for each storage from powercli? I would like to get raw numbers, for example:
https://kb.vmware.com/s/article/2003090
In Storage Views – Datastores I did something like that by
- retrieving all the VMs on the datastore
- using the LayoutEx.File property of each VM to determine how much space each type of VM file occupied
If you want a Pie chart, you can use the ImportExcel module and use the New-ExcelChart cmdlet to create such a chart.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
I am pretty much pleased with your good work. You put really very helpful information.
Didnt know about that LayoutEx.File property, will try to work with it. Thank you.