pdqcom / PowerShell-Scanners

A community repository of PowerShell Scanners for PDQ Inventory.
MIT License
179 stars 74 forks source link

Mapped printers #65

Closed jochemin closed 3 years ago

jochemin commented 3 years ago

Add "Mapped Printers" scanner, it shows computer mapped printers and if it's the default one.

ColbyBouma commented 3 years ago

Inventory already scans for printers. Is your goal to show the default printer?

jochemin commented 3 years ago

It scans local printers. The scanner returns mapped printers.

El jue., 29 abr. 2021 13:58, Colby Bouma @.***> escribió:

Inventory already scans for printers. Is your goal to show the default printer?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pdq/PowerShell-Scanners/pull/65#issuecomment-829171801, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABQOBGZGYPB3DK5DVPSFAPLTLFCWXANCNFSM43ZXBFEQ .

ColbyBouma commented 3 years ago

When I tested #29, it returned the same printers as Inventory's Printer scanner. Your script uses the same WMI class, Win32_Printer.

Local, Port, and Share Name are hidden by default. image

jochemin commented 3 years ago

Just tested. In the default inventory it doesn't show network printers image With the scanner you have that info and the default printer. image

ColbyBouma commented 3 years ago

Oops, I thought it did. Good to know :)