rasdial
SafeDial VPN from CLI
rasdial "<VPN名>" [user pass]
Connects/disconnects built-in VPN entries from the CLI; bare rasdial shows current state.
Examples
rasdial "社内VPN" /disconnectHang up the VPN
Syntax
rasdial ["entry" [user [pass]]] / rasdial "entry" /disconnect
Before you run it
Avoid plaintext credentials in scripts.
Related commands
- netshNetwork shell
- show ipsec saIPsec SA status
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store