SHARE
TWEET

URL

ffarias Jul 15th, 2019 105 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Test-NetConnection -ComputerName stgoramix.file.core.windows.net -Port 445
  2. # Save the password so the drive will persist on reboot
  3. Invoke-Expression -Command "cmdkey /add:stgoramix.file.core.windows.net /user:Azure\stgoramix /pass:xFDv41BXUb2p5bgO3gduImciul5EUi9EJs0eoe2KAevES8/Ii7Uu4XuujviAKr61X+GDDqZstOvs3cNkwUOo7Q=="
  4. # Mount the drive
  5. New-PSDrive -Name Z -PSProvider FileSystem -Root "\\stgoramix.file.core.windows.net\oramix"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top