Closed jochemin closed 3 years ago
Inventory already scans for printers. Is your goal to show the default printer?
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 .
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.
Just tested. In the default inventory it doesn't show network printers With the scanner you have that info and the default printer.
Oops, I thought it did. Good to know :)
Add "Mapped Printers" scanner, it shows computer mapped printers and if it's the default one.