Skip to content

Instantly share code, notes, and snippets.

@davidbreyer
Created March 17, 2014 13:19
Show Gist options
  • Save davidbreyer/9599026 to your computer and use it in GitHub Desktop.
Save davidbreyer/9599026 to your computer and use it in GitHub Desktop.
Powershell script to connect to a remote drive
net use X: \\<servername>\F$ /Persistent:No /user:<domain>\<username> <password>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment