pdqcom / PowerShell-Scanners

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

Change Mapped Printer scan profile to scan as the logged on user #108

Closed jk-95 closed 6 months ago

jk-95 commented 8 months ago

The Mapped Printers scanner only works when scanning as the logged on user. When importing the scanner, it will be set to scan as the scan user, which will return no results. This PR adds a line to the scan profile XML to set the scan user to the logged on user. Tested and working on PDQ Inventory 19.3.526.0.