Does anyone know how to get the username and password in VBScript? I want to be able to map a network drive and pass the logon credentials to it.
set net = Wscript.CreateObject("Wscript.Network")
net.MapNetworkDrive "Z:", "\\server\share", , "sUserName"...