/build/static/layout/Breadcrumb_cap_w.png

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)

Posted by: SMal.tmcc 8 years ago
Red Belt
1
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

wmic printer where 'default="true"' get name, portname > C:\ProgramData\Dell\KACE\user\defaultprinter.txt
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ