Skip to content

Instantly share code, notes, and snippets.

View MattHodge's full-sized avatar

Matthew Hodgkins MattHodge

View GitHub Profile
<#
.SYNOPSIS
Send a message when a Storage Spaces Pool, Virtual or Physical Disk is no longer of Health Status.
.DESCRIPTION
Windows 2012 R2 Storage Spaces provides CmdLets to monitor the status of Pool, Virtual or Physical Disk.
This script will send an alert if it notices anything is not Healthy, with the name of the server and the details.
Set this task up inside Task Scheduler