Love this? Please consider supporting its creator by starring or sponsoring this project on GitHub!
From the project's README:
Alfred Network Workflow
Alfred workflow that can show and change your network settings: Wi-Fi, Ethernet, VPN, DNS, etc.
This is a collection of the functionalities of already existing network-oriented workflows that I found half-baked or stalled. Improved on performance, usability and details.
Go to Latest Release and under
Network.alfredworkflow. Once downloaded, double click the file and it will show up in Alfred.
wifito show Wi-Fi info and enable/disable.
ethto show ethernet info (if connected).
wifilistto scan for Wi-Fi hotspots.
vpnto list configured VPNs and connect.
dnsto list and change DNS settings.
Requires Alfred 3 and Powerpack for installing this extension. Might behave differently on macOS versions older than 10.7 Lion. This workflow is primarily implemented in Bash with a little help from AppleScript.
WIFI / Access Point changes requires your keychain password which is a known limitation. See HERE.
Contributions, bug reports and feature requests are very welcome.