Create Multiple Network Locations

mradams
Contributor

I am looking for a script to assist in creating multiple network locations and apply automatic proxy configuration settings to one specific location after imaging

location nps - apply automatic proxy ".xxx.pac
location non-nps will receive no auto proxy

I would also like to remove location - Automatic

Any assistance would be appreciated

1 REPLY 1

htse
Contributor III

the networksetup command will accomplish this

https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man8/networksetup.8.html