Capturing S.M.A.R.T. Hard Disk Data from WMI with AutoIt
For those who are unaware, there is a monitoring and reporting systems for modern hard disks known as SMART. I’ll save the explanations for Wikipedia’s S.M.A.R.T. page. Instead of my normal big script example, I’d like to provide you with a snippet that basically just loops over the known data from WMI using AutoIt. You can modify this however you’d like to return error codes if failures are found, write out to logs, etc.