Automation

 View Only
  • 1.  How to get space utilization by file type for storage

    Posted Jun 18, 2021 02:42 PM

    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://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.monitoring.doc/GUID-E07CA3B9-B69B-4A9A-928A-896598948E84.html

    https://kb.vmware.com/s/article/2003090

    PSDN_0-1624027296030.png

     

     

     



  • 2.  RE: How to get space utilization by file type for storage

    Posted Jun 18, 2021 05:32 PM

    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.

     

     



  • 3.  RE: How to get space utilization by file type for storage

    Posted Jun 28, 2021 09:00 AM

    Didnt know about that LayoutEx.File property, will try to work with it. Thank you.



  • 4.  RE: How to get space utilization by file type for storage

    Posted Jun 26, 2021 07:10 AM

    I am pretty much pleased with your good work. You put really very helpful information.