Is it possible to add and WiFi SSID to both Mac and Windows via KACE
I'm trying to remotely (via KACE) add a WiFi SSID to both Windows and Mac computers. I've found a way to obtain the current SSID but running up against some roadblocks when it comes to knowing which interface and its name, and also applying the config.
For Windows it is not hard:
1. go to a system which already is in the WLAN.
2. run the command
1. create an Online Script
2. add the xml from Prerequisites-step 2 as Dependency
1. Verify a file exists
4. On Success:
1. Launch a program
check "Wait for completion"
Parameters: /c netsh wlan add profile filename="WLAN-YOURWLAN" users=all
5. Add the labels and times you need.
After the script is ran the device can use the WLAN.
If you use RADIUS it is a bit more complicated (see netsh documentation for Windows)
You can also use an encrypted XML (see netsh documentation for Windows), but for showing it it is easier with clear passwords.
For the Mac, you may want to look at the Mac Profiles feature of the SMA.