Scripting Question

Build a script to find the IP of the default printer

02/12/2016 647 views
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?

All Answers

you need to follow my method described here


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
Answered 02/12/2016 by: SMal.tmcc
Red Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


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