Uses CrystalDiskInfo to generate a drive report and parses the report for health status of Drives.
MUST create custom field "CF – Drive Type" before importing, or link it on line 29. Can report using tag $DiskInfo$
Script determines if smartctl.exe is present. If it is, runs it against all hard drives on the system and outputs the result. On the chance there is a warning, an Alert is triggered and an email is sent.
Prompts if either y or n for failure Emails. Script then checks WMI root\cimv2:Win32_DiskDrive.Status. If OK then script writes to script log. If NOT OK then Email is sent if y at prompt was selected, script also writes failures to script log.