Hello everyone,
My company has 300 macs and I need to configure the search domains on each one by using a script. I found this one which works perfectly : networksetup -setsearchdomains Ethernet domain1 domain 2 domain 3.
But i had 2 little problems. First, how can I use this script on new macbook air who got a different name (interface) for the Ethernet ? Second, I wasn't able to install the script by using Casper Imaging ( even when I choose to install it After or At Reboot). But when I apply a policy on the Mac after imaging it , it works perfectly.
Thank you all in advance for your answers.
Merieme
