Use PowerShell to view printer configuration

by Mitch Tulloch [Published on 13 March 2014 / Last Updated on 13 March 2014]

How to use Windows PowerShell to find printer configuration

Question: You want to see the printer configuration for a printer defined on your Windows 8.1 computer. How can you do this using Windows PowerShell?

Answer: On Windows 8 and above, use the Get-Printer function to identify printers, and then pipeline the results to the Get-PrintConfiguration function. The following command finds all printers with the name of HP in the name, and reports the configuration.

Get-Printer -Name *hp* | Get-PrintConfiguration

Ed Wilson is the bestselling author of eight books about Windows Scripting, including Windows PowerShell 3.0 Step by Step, and Windows PowerShell 3.0 First Steps. He writes a daily blog about Windows PowerShell call Hey, Scripting Guy! that is hosted on the Microsoft TechNet Script Center; for more PowerTips check out the Hey, Scripting Guy! blog.

 

See Also

Featured Links