This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.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 |