Posted on 02-25-2014 03:46 PM
Hey guys, what would be the best practice to remove a wireless profile from a MBA and remove the wireless config in the network settings?
Posted on 02-26-2014 06:16 AM
If the profile is from JSS take it out of the scope. If you made your wireless profile with config in it, it should wipe out the network settings when it's removed.
Otherwise you can use the "profiles' command from terminal to manually remove profiles.
To manually remove network settings you could use the networksetup -removepreferredwirelessnetwork <device name> <network name>.
The device name on a MBA should be en0.
AirPort="/System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Resources/airport"
#Disconnect from network
$AirPort -z
networksetup -removepreferredwirelessnetwork <device name> <network name>
If doing this remotely I would send out the new Wireless Config Profile first then remove the old one.