Summary : Use Windows PowerShell to capture console application data.
How can I parse the output from a console application by using Windows PowerShell?
Run the application as normal, but assign it to a Windows PowerShell object—for example, DriverQuery… Read the full text.