Partager via


PowerTip: Use PowerShell to Get Printer Configuration

Summary: Use Windows PowerShell in Windows 8 to find your printer configurations.

Hey, Scripting Guy! Question How can I use Windows PowerShell in Windows 8 to get the printer configuration of all printers?

Hey, Scripting Guy! Answer Use the Get-Printer function, and  pipe it to Foreach-Object and the Get-PrinterConfiguration cmdlet:

Get-Printer | ForEach {Get-PrintConfiguration $_.name}