Skip to main content

Windows Installed Printers and Port

This is run from an elevated PowerShell prompt

Executing this command will list the installed printer name and Port/IP address for the printer.

get-printer | select name, portname

Example Output

name                                        portname                                
----                                        --------                                
HP LaserJet Pro MFP M426f-M427f PCL 6 (New) 192.168.0.222                           
NPI45DE3A (HP LaserJet MFP M426fdw)         WSD-34cd3272-c21b-42bd-b4e9-f2881b5e1ca8
Xerox WorkCentre 3345 (Copy 1)              USB001                                  
Xerox WorkCentre 3345                       USB002                                  
WorkForce 545(Network)                      EP5DA9D3:WORKFORCE 545                  
RICOH SP C840DN                             WSD-44608c19-f8db-4a9c-acf8-0a0f6199b08a
Microsoft XPS Document Writer               PORTPROMPT:                             
Microsoft Print to PDF                      PORTPROMPT:                             
HP LaserJet Pro MFP M426f-M427f PCL 6       192.168.1.252                           
Fax                                         SHRFAX:                                 
EPSON WorkForce 545 Series - Network FAX    EP5DA9D3:WORKFORCE 545