title: How to add a mapped network drive via VBS?
body: <p>I'm having some issues with my vbs script. It will add only the F drive and not add the G driver after it. What am I doing wrong?</p>
  
  <pre><code>'## This is for network drives
  Set objNetwork = CreateObject("WScript.Network") 
  objNetwork.RemoveNetworkDrive "F:", True, True
  
  '## for adding
  Set objNetwork = CreateObject("WScript.Network")
  objNetwork.MapNetworkDrive "F:" , "\\myserver\share1"
  objNetwork.MapNetworkDrive "G:" , "\\myserver\share2"
  </code></pre>