List Configured Printer Ports with Get-PrinterPort
See every printer port (USB, TCP/IP, WSD) Windows has configured — handy when a printer's IP address changed.
01Command
$ Get-PrinterPort | Select-Object Name, Description02What it does
A printer that suddenly stops working after a router reboot often points at a stale TCP/IP port: the port still targets the printer's old IP address. Get-PrinterPort lists every port Windows knows about — USB ports, raw TCP/IP ports, WSD ports — with names and descriptions, which is the first step before recreating the port or re-pointing the printer.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- Get-PrinterPort cmdlet | Microsoft LearnEvidence: Get-PrinterPort lists the printer ports configured on the computer, exposing Name and Description.
- PrintManagement module | Microsoft LearnEvidence: PrintManagement collects the printer cmdlets including Get-PrinterPort.
Last verified: 2026-09-19 · Category: System & Settings
06Related solutions
PowerShell cmdlet that exposes BIOS, firmware, RAM and OS properties as a filterable object.
Use the System File Checker to verify every protected Windows system file against known-good copies and automatically replace the damaged ones.
Use Windows Package Manager to install, search, and upgrade thousands of applications from the community repository in one command.