Skip to content

Instantly share code, notes, and snippets.

@scoutman57
Created July 28, 2015 03:35
Show Gist options
  • Save scoutman57/01a92e6fec0a1bcb4221 to your computer and use it in GitHub Desktop.
Save scoutman57/01a92e6fec0a1bcb4221 to your computer and use it in GitHub Desktop.
Connect IBM VPN - Apple Script
#!/usr/bin/osascript
tell application "System Events"
tell current location of network preferences
set VPNservice to service "IBM VPN"
if exists VPNservice then connect VPNservice
end tell
end tell
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment