Get Cluster Shared Volume (CSV) free space with PowerShell

With the failover cluster manager it’s hard to summarize the free space for each CSV.
Here is a sample script to determine the free space for the Cluster Shared Volumes in each Hyper-V cluster.



Comments ( 2 )

  1. Avatar
    Jim PecoraMarch 6, 2019 14 // Reply

    Found an issue with your code. $csvs += $c should be included in the foreach loop above it. Otherwise you're only getting data from the last cluster in the array. Thanks for sharing your code. Jim

    • Avatar
      AdminApril 11, 2019 15 // Reply

      Thanks for sharing. I Will edit my code.

Leave a reply

Your email address will not be published.