3rd Party Kernel Extension – Jamf Extension Attribute

#!/bin/sh

########## variable-ing ##########
kextList=$(/usr/sbin/kextstat -l | /usr/bin/grep -v 'com.apple' | /usr/bin/awk '{print $6}' | /usr/bin/sort)



########## main process ##########
# Report result.
echo "<result>$kextList</result>"

exit 0

Link:
https://github.com/palantir/jamf-pro-scripts/blob/4672e65091a0684ef9

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top
Share via
Copy link