Printing – Get IP address when only WSD port is available

This PowerShell command returns the actual IP address of a printer when it is setup using a WSD port rather than an IP port.

Get-PrinterPort -name WSD-123xxxxxxxxxx -computername SERVERNAME | ft DeviceURL

Replace:

  • WSD-123xxxxxxxxxx   –   Actual WSD port inside of printer port settings
  • SERVERNAME     –     Computer name in which the print queue resides