title: Connecting to a network folder with username/password in Powershell
body: <p>I often access shared network folders in Powershell to grab files etc. But if the share requires a username/password, Powershell does not prompt me for these, unlike Windows Explorer. If I connect to the folder first in Windows Explorer, Powershell will then allow me to connect. </p>
  
  <p>How can I authenticate myself in Powershell?</p>