Using PowerShell to view info about printers
You can use the Get-PrinterConfiguration cmdlet to display the configuration settings for a particular printer:
PS C:\> Get-PrintConfiguration -ComputerName HOST7 -PrinterName "HP LaserJet 5200 PCL6"
PrinterName ComputerName Collate Color DuplexingMode
----------- ------------ ------- ----- -------------
HP LaserJet ... HOST7 True False OneSided
Using the pipeline also allows you to display configuration settings for all printers installed on a remote printer server:
PS C:\> Get-Printer -ComputerName HOST7 | Get-PrintConfiguration
PrinterName ComputerName Collate Color DuplexingMode
----------- ------------ ------- ----- -------------
Samsung CLP-... HOST7 False True OneSided
Microsoft XP... HOST7 False True OneSided
HP LaserJet ... HOST7 True False OneSided
HP LaserJet ... HOST7 True False OneSided
If you want to list all color printers installed on HOST7, you can do it like this:
PS C:\> Get-Printer -ComputerName HOST7 | Get-PrintConfiguration | `
where Color -eq $true | fl PrinterName
PrinterName : Microsoft XPS Document Writer
PrinterName : Samsung CLP-410 Series PCL6
The above tip was excerpted from Mitch Tulloch's book Training Guide: Installing and Configuring Windows Server 2012 from Microsoft Press.
Mitch is a nine-time recipient of the Microsoft Most Valuable Professional (MVP) award and a widely recognized expert on Windows administration, deployment and virtualization. For more information see http://www.mtit.com.