Solved Windows CLI: List printers
-
In the past I've used
Net use
to list network resources, but that only lists mapped drives.There seems to be one to list network printers, but I have yet to find it. While I keep searching - has anyone used this? In my mind, I'm sure it's there... I just haven't come across it yet.
-
Powershell has the Get-Printer command.
-
@coliver said:
Powershell has the Get-Printer command.
PS is great to know,.. however in this case (and maybe I should have stated as such) I am using ScreenConnect - Command option, in hopes of not needing to remote to the computer.
-
Try this:
CScript C:\windows\system32\Printing_Admin_Scripts\en-US\prnmngr.vbs -l
-
I found that,.. but
didn't
use the CSript..Makes a difference.
Thanks
-
Thanks! That's helpful.