Hi guys
For security reason i am trying to remove the Wi-Fi network service from Workstations.
If i do it manually in the Network System Pref pane and hit the minus, then it goes away.
If i try this in terminal
networksetup -removenetworkservice Wi-Fi
I get the error
You cannot remove Wi-Fi because there aren't any other network services on Wi-Fi.
Anyone know how i can remove it?
I know i can use this to disable it /usr/sbin/networksetup -setnetworkserviceenabled
but i have a separate script that sets the proxy for every interface and it seems the script cannot set proxy setting for a disabled network interface and it is causing errors.