January 27th, 2013

PowerTip: Find Printers That Use 32-bit or 64-bit drivers

Doctor Scripto
Scripter

Summary: Use Windows PowerShell 3.0 on Windows 8 to find print devices that use 32- or 64-bit drivers.

Hey, Scripting Guy! Question How can I find print devices on my computer running Windows 8 that use 32-bit or 64-bit drivers?

Hey, Scripting Guy! Answer Use the Get-PrinterDriver cmdlet and use the Where-Object (? Is an alias) to filter out the printerenvironment property. Use the match operator to find either 64 or 32 as your needs require. Below are examples of this technique.

Get-PrinterDriver | ? printerenvironment -match 64

Get-PrinterDriver | ? printerenvironment -match 32

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.