PowerShell script for Storage Cluster Health Test published to the TechNet Script Center

I just published a PowerShell script to check the health and capacity of a Storage Cluster based on Windows Server 2012 R2 Scale-Out File Servers.

It assumes a specific configuration for Private Clouds using the solution described at https://technet.microsoft.com/en-us/library/dn554251.aspx.

It performs specific health checks for

  • Failover Clustering (Cluster, Resources, Networks, Nodes)
  • Storage Spaces (Physical Disks, Enclosures, Virtual Disks)
  • Cluster Shared Volumes
  • SMB File Shares
  • Deduplication

It includes reporting of capacity by Pool, Volume and Deduplicated volume. It also includes collection of cluster logs and error events from all nodes in the cluster.

You can review and download the script from https://gallery.technet.microsoft.com/scriptcenter/Test-StorageHealthps1-66d84fd4

Lastly, if you're interested in how the script was written, you might also want to read these other blog posts: