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
Windows 7, Windows 2003 AD
December 17, 2012 2:03 AM