Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

How to write a script to add a printer?


  • Please log in to reply
1 reply to this topic

#1 sweedishfish

sweedishfish

  • Members
  • 63 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:09:48 PM

Posted 09 September 2016 - 05:26 PM

Hey guys, I have to add the same printer on multiple computers but instead of going thru the adding process on each computer and waste some much time, can I just write a batch script to do it for me easily? Or would you guys recommend other methods?



BC AdBot (Login to Remove)

 


#2 Aura

Aura

    Bleepin' Special Ops


  • Malware Response Team
  • 19,662 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:12:48 AM

Posted 09 September 2016 - 05:58 PM

PowerShell works great for this.

https://technet.microsoft.com/en-us/library/hh918353(v=wps.630).aspx

unite_blue.png
Security Administrator | Sysnative Windows Update Senior Analyst | Malware Hunter | @SecurityAura
My timezone UTC-05:00 (East. Coast). If I didn't reply to you within 48 hours, please send me a PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users