I am New to vb scripting. I need help to create a script. I need to create a login script that maps user DFS network drive accordingly to their department.
The login is as follows:
a. to read registry of last logon user
b. get last logon user AD group information
c. if last logon user is part of AD group %_%_XYZ (% is variables)
e. write XYZ to PC System environment %_%_XYZ
Software/Hardware used: Windows 7, Windows 2003 AD
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!