I'm still a novice vbs script maker, so I'll need an assist with this one. I want to develop a script that will automatically connect to a network printer based on the computer name that the user logs into. Basic scenario:
I have several computers labs. The lab PCs in the different rooms all have computer names that start with the appropriate room number. All of my PCs names start with one of the following:
NH1 -- Nelson Hall Room 1
NH3 -- Nelson Hall Room 3
NH5 -- Nelson Hall Room 5
DCA -- Data Center Room A
DC25 -- Data Center Room 25
DCRR -- Data Center Resource Room
Each room has their own network printer. NH1, NH3, NH5, DCA, DC25 all connect to HPs with JetDirects. DCRR connects to a shared printer based off an XP Professional machine in the same room.
I need a script for my users (who roam throughout the network) that can determine the PC's name, then connect to the appropriate printer based on that computer name. I know I've seen similar scripts in EE before, but I'm at a loss to find one again.
Thanks in advance...and be gentle. :) Programming is the ONE THING, I've resisted and I'm beginning to subscribe to the Borg philosophy that resistance is futile.