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.
Answers (2)
Top Answer
For Windows it is not hard:
Prerequisites:
1. go to a system which already is in the WLAN.
2. run the command
KACE:
1. create an Online Script
2. add the xml from Prerequisites-step 2 as Dependency
3. Verify:
1. Verify a file exists
Directory: $(KACE_SYS_DIR)
File: cmd.exe
4. On Success:
1. Launch a program
Directory: $(KACE_SYS_DIR)
File: cmd.exe
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.