Skip to content

Instantly share code, notes, and snippets.

@jesusgoku
Created April 7, 2015 14:50
Show Gist options
  • Save jesusgoku/4ed1340d046ce66c6583 to your computer and use it in GitHub Desktop.
Save jesusgoku/4ed1340d046ce66c6583 to your computer and use it in GitHub Desktop.
Manage VPN connection from CMD
REM create rasphone.pbk on C:\Windows\System32\ras
REM For connect
rasdial "Connection Name" username [password|*]
REM For disconnect
rasdial "Connection Name" /DISCONNECT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment