List all physical printer ports on multiple clients


hi 

i wan't search server, list physical printer port names on client pc'.

is there way of doing ? either powershell .. or other tool ?

this give both:

$computer = $env:computername

get-wmiobject -class win32_printer -computername $computer | select-object name, portname



Windows Server  >  Windows PowerShell



Comments