Last active
January 27, 2017 00:03
-
-
Save vans163/ceef8aeb837b81d1ec97dc1003c7ec77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmdkey /add:$serverIP /user:$serverIP\$unixAccoutnName /pass:$password | |
net use S: \\192.168.1.22\myshare /SAVECRED /PERSISTENT:YES | |
net use Z: /delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment