Datastore Capacity

I was asked if there was a way to create a graph for Datastore usage, after messing for 5 minutes I came up with the following……

6 thoughts on “Datastore Capacity

  1. Brett

    Hi,

    This won’t work on Windows 2008 (different version of powershell ?)

    Do you have an updated version of this ?

    Regards

    Brett

  2. John

    Al,

    Your scripts are awesome and a great service to the VMware community! I have been struggling to cobble this particular script into your Report to Word script (I prefer this to the pie charts). But I am at a loss. I have just started exploring Powershell and don’t have a strong background in scripting but I am learning from masters such as yourself. Can you point me in the right direction?

  3. Jason

    You cannot call a method on a null-valued expression.
    At line 12, position 58
    $series = ([array] $chart.charts)[0].SeriesCollection.Add(0)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.