An extension attribute to get the number of Configuration Profiles installed

agerson
New Contributor III
#!/bin/sh
RESULT1=`/usr/bin/profiles -L | tail -n 1 | cut -d':' -f2`
RESULT=`grep -o "[0-9]" <<< "$RESULT1"`

echo "<result>$RESULT</result>"

exit 0
0 REPLIES 0