Build a script to find the IP of the default printer
Hi Everyone.. Id like to build a script to to find the IP of the default network printer. any assistance? do not know where to start. Thanks
1 Comment
[ + ] Show comment
-
Can you not use the agentless discovery to provide this information for you? - Hobbsy 8 years ago
Answers (1)
Please log in to answer
Posted by:
SMal.tmcc
8 years ago
you need to follow my method described here
http://www.itninja.com/blog/view/create-cirs-to-show-current-users-mapped-drives-and-networled-printers-presented-at-dell-world-user-forum-2014-lessions-from-the-field
use this line in your batch file or command call
http://www.itninja.com/blog/view/create-cirs-to-show-current-users-mapped-drives-and-networled-printers-presented-at-dell-world-user-forum-2014-lessions-from-the-field
use this line in your batch file or command call
wmic printer where 'default="true"' get name, portname > C:\ProgramData\Dell\KACE\user\defaultprinter.txt