How to map a drive based only on OU membership
Posted on 2009-04-22
First, I am hopeless with writing logon scripts, but I know how to implement them :-)
Can anyone point me to a vbs script that I can use to map a network drive based on a user's OU membership only?
Basically, OU1 users map to \\server\share1, OU2 users map to \\server\share2, OU3 users map to \\server\share3 etc etc
Also, I need the script to map another drive so all users get access to a common share - eg \\server\public
Any help/code is much appreciated and it would be cool if this could be done in one script :-)