With 15.6 and beta macos 26
The EA I was using for report back a macs SSID is now broken/blocked.
Does any happed to have one that will works?
Thanks
#!/bin/sh
# Jamf Extension attribute to return SSID
#
# Check for SSID name
wifi_name=$(ipconfig getsummary en0 | awk -F ' SSID : ' '/ SSID : / {print $2}')
# Check if SSID is found
if f -z "$wifi_name" ]; then
result="No Wi-Fi network found."
else
result="$wifi_name"
fi
# Result for Jamf
echo "<result>$result</result>"
