Printing Results

Share |

Subscribe to Feed

PowerShell eBook
Sign up for
Your PowerTip of the Day:

Powershell Plus

13 Free SQL Tools from Idera

Free Ebook: Mastering Powershell

You will discover that Out-Printer can print results to your default printer. You can also print to any other printer when you specify its name:

Get-Process | Out-Printer -name 'Microsoft XPS Document Writer'

You should ask WIMI if you need to find out the names of your installed printers:

Get-WMIObject Win32_Printer | Select-Object -expandProperty Name

Twitter This Tip! ReTweet this Tip!

Posted May 24 2010, 08:00 AM by ps1
Copyright 2012 All rights reserved.