I'm working on a new logon script (using VBscript) to map printers and network drives for our users. The issue I'm having is when I try to map a drive that is determined by the user's logon name, specifically the mail server... basically:
name: John Doe
logon name: doejoh
mapped directory: \\dc\shared\doejoh\mailbox
How do I use VBScript to grab the user's logon name, and how do I edit my code to throw that variable in the path to the user's mailbox?
objNetwork.MapNetworkDrive "n:", "\\system\shared\WHATDOIPUTHERE\mailbox"
Any help would be greatly appreciated
name: John Doe
logon name: doejoh
mapped directory: \\dc\shared\doejoh\mailbox
How do I use VBScript to grab the user's logon name, and how do I edit my code to throw that variable in the path to the user's mailbox?
objNetwork.MapNetworkDrive "n:", "\\system\shared\WHATDOIPUTHERE\mailbox"
Any help would be greatly appreciated