Computer Groups and Printer Scripts
Posted on 2005-03-29
I am wondering if there is any way to make like a group of computers in Active Directory so that you can reference that computer group through a VB Logon Script. To clarify, our office has a few users that log in at completely separate areas. For instance their main workstation is in our Business Office, but these users also log in at the Admissions department. Now, I want to create a script that can differentiate what area the user is logging into and assign the correct network printers as the default printers. I can't differentiate by computer name because when these users log in to the Admissions area they could be at one of 6 workstations.
In summary, I would like to create a script that can somehow reference a group of computers in a certain location so that I can assign the correct default network printers while the user is logged in at that specific area. I would rather not have to reference each computer name individually in the script (like a number of if then else statements), which is why I was wondering if there is any way to assign certain computers to a group that can be referenced in VBScript.