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:
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.