How can generate the report including local printer, network printer & server print queue ?
Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
If an answer to your question is correct, click on "Verify Answer" under the "More" button. The answer will now appear with a checkmark. Please be sure to always mark answers that resolve your issue as verified. Your fellow Community members will appreciate it! Learn more
Thanks for your information.
The WMI call will show you the what you can see and if it lists as installed directly.
LPR printers normally show in ZENworks Inventory, even though they are not physically connected.
--
If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button
Be sure to "Like" My (and a few others) Cool Solutions below!
https://community.microfocus.com/members/craigdwilson/bookmarks
Assuming the SYSTEMNAME is "NOT" the local PC, then No you CANNOT use Powershell to do that.
That is because the info will be unique for every single profile on the PC. You could in theory do something to collect the info for the current user logged in....but if nobody is logged in or another user is logged in then it will be gone.
Imagine Inventory showing a Printere Added and Removed 4-5 times a day every day.
That being said, one can be creative with the use of scripts to gather whatever information you want as users login or to load and unload profiles (Very Careful when scripting the loading/unloading or profiles...if you fail to load a profile and that user tries to logon before a reboot....it could cause the user to get a new profile which is a huge mess.)
--
Note: You can use "Printer Policies" in ZENworks so that any printer not delivered by ZENworks is removed.
What real world problem are yo trying to solve, because Network Shares stored in Each user profile is not really "Inventory" and these remote printer connections are just simply Network Shares.
--
If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button
Be sure to "Like" My (and a few others) Cool Solutions below!
https://community.microfocus.com/members/craigdwilson/bookmarks