There is a command for monitoring the status of a RAID Hardware called hpacucli.exe (C:\Program Files (x86)\Compaq\Hpacucli\Bin\hpacucli.exe)...
The output of that command is
hpacucli.exe ctrl all show status
Smart Array B110i SATA RAID in Slot 0 (Embedded)
Controller Status: OK
I need a script that could be added as a scheduled task to check that the array is healthy, and if not, send an email informing of it.
Thanks in advance