Programmatically Obtain Recent Wi-Fi Networks On A Mac

When you join a wireless network on a Mac, the information for that network is cached into the property list. You can access this information using the following command, constraining output to the LastConnected field and the next 7 lines: defaults read /Library/Preferences/SystemConfiguration/ | grep LastConnected -A 7

2 thoughts on “Programmatically Obtain Recent Wi-Fi Networks On A Mac”

  1. Also, I want to make so the blueprint has the apps in the folder. Do I have to create the blueprint and then restore from backup?

Comments are closed.