Smart Group Feature request

alangoldberg
New Contributor

Hi there

Don't know if this has been requested before, but I'd like to be able to make a smart group so I can see who has turned off Bluetooth on their devices. So... Bluetooth status on/off.

Thanks

Alan

3 REPLIES 3

jcarr
Contributor III

Can I assume you mean for Mobile Devices?  For Computers you should be able to do that via an Extension Attribute.

 

This should do the trick:

#!/bin/sh
echo "<result>$(system_profiler SPBluetoothDataType | awk '/State/ {print $NF}')</result>"
exit 0

alangoldberg
New Contributor

Quite correct. I meant iPads. A quick check to see why and if Classroom connection is failing.

jcarr
Contributor III

If students are disabling iPad units in the classroom, you can always restrict the ability to set BT and then push the command to enable it.  That should resolve the issue.

 

If you have a handful of problem students, it might be best to set the restriction to those devices as the restriction will prevent students who ARE abiding by the AUP from connecting their Bluetooth headphones.