Ok. As far as we have seen we can use this tool in Command prompt.
Is there a way to use this tool from for example a C# application and get the values we want directly? For example, if we wanted predictive failure for a hard disk, instead of getting out put like:
"Predictive failure: 1" , we just get the value for it.
Thanks again for the help