V
V
Viktor T22021-07-30 23:04:50
Windows
Viktor T2, 2021-07-30 23:04:50

How to find network or shared windows printers?

How to find network or shared windows printers with a script?
Any simple solution will do.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MaxKozlov, 2021-07-31
@MaxKozlov

Scan the network for an open port 9100 (raw) - there will be network printers.
Shared ones are visible if you query computers via wmi - Win32_share class
Well, they most likely can also keep port 9100 open

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question