Create Own Driver Tool

Share |

Join PowerShell.com!
Subscribe to Feed

PowerShell eBook
Sign up for
Your PowerTip of the Day:

Award-winning PowerShellPlus


Admin Guide to PowerShell Remoting


Mastering PowerShell eBook

Thanks to Peter Bishop, here's an enhancement to one of our earlier tips. It turns the command line output delivered by driverquery.exe into a nice info window.

Driverquery.exe /v /FO CSV | ConvertFrom-Csv | 
Select-Object
'Display Name', 'Start Mode', 'Paged Pool(bytes)', Path |
Out-GridView

Just make sure that you installed the "PowerShell-ISE" feature on Windows Server or else the cmdlet Out-GridView will not work. On Windows client, it works out of the box.

Twitter This Tip! ReTweet this Tip!


Posted Jan 13 2012, 06:00 AM by ps1

Comments

willsteele wrote re: Create Own Driver Tool
on 01-13-2012 9:59 AM

Some of these tips go outside the div and I have to check the page source to see the whole tip.  Is there a way to wrap the content on these one liners?

turtlenorthwest wrote re: Create Own Driver Tool
on 01-30-2012 6:10 PM

I took this a step further to sort by Start Mode, then Display Name.  

Driverquery.exe /v /FO CSV | ConvertFrom-Csv | Select-Object 'Display Name', 'Start Mode', 'Paged Pool(bytes)', Path | Sort-Object 'Start Mode', 'Display Name' | Out-GridView

Copyright 2012 PowerShell.com. All rights reserved.