Question
Thread display: Collapse - |
All Answers
Start or search
Create a new discussion
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
Script to Add Printers based on if the target computers are in an OU
Is it possible to write a script, most likely vbs that calls rundll32 printui.dll to add network printers to computers depending on which OU/Computer Group the computers are in?
I already use the above command to add printers to individual computer groups, but each room requires another policy, is there any way to consolidate all the policies into one, perhaps using if statements, if so I'm not a dstrong vbs scripter could somone give me an idea of the code required?
Thanks for any Help!