Home-Made Driver Query Tool

by Apr 6, 2012

Some months ago we introduced to you the driverquery.exe tool and how to convert its output to PowerShell objects. Here's now an amazing function that turns this command-line tool into a graphical tool that lists drivers from both local and remote systems (if you have appropriate permissions):

function Show-DriverDialog {
    param(
        $ComputerName = $env:computername
    )
    
    driverquery.exe /S $ComputerName /FO CSV  | 
      ConvertFrom-Csv | 
      Out-GridView -Title "Driver on \\$ComputerName"
} 

Twitter This Tip! ReTweet this Tip!