I am writing a script to automate the creation of a user's Outlook profile using a small tool called RichProfile.
the problem I'm having is the wrong parameters are being passed.
Dim vbExMailServer : vbExMailServer = "MAILSERVER"
Dim vbExMailbox : vbExMailbox = "%USERNAME%"
Dim vbExProfileName : vbExProfileName = "%USERNAME%"
Dim vbProfileDelete : vbProfileDelete = "Y"
Dim vbSetProfileTo : vbSetProfileTo = "D"
Set oShell = Wscript.CreateObject("WScr
oShell.Run "RichProfile vbExMailserver vbExMailbox vbExProfileName vbProfileDelete vbSetProfileTo"
The above executes with success, but the mailserver is set to vbExMailServer, the mailbox is set to vbExMailbox, and the
profile name is set to vbExProfileName.
The .vbs file and the RichProfile.exe are both located in the same folder.
What am I overlooking?