Chad Posted February 4, 2010 Posted February 4, 2010 (edited) Here you go, the code is well commented so you should hopefully be able to follow what's going on if you want a look. I'd recommend using Notepad++ as it colours all the keywords and make it easier to read. *** Updated *** Now supports PC Group, OU or PC Name matching It's set for applying printers based on the group membership of the PC, if you want to change this to OU membership or matches on the name of the PCs then you can change a single line of the script as explained in the comments. Hmmm, actually I could tweak the code so that the section names in the .ini file could contain an identifier which determines whether the match should be made on a group, OU or PC Name. This would eliminate the need for any code editing and make the printer assignment very flexible. Do you think that would be a useful feature? The readme should hopefully give you enough info on the installation and use. Let me know if you need any help. Cheers, ChadMap Printers.rar Edited February 5, 2010 by Chad Overhauled code to add matching on OUs and PC names as well as groups
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now