An extension attribute to get the number of Configuration Profiles installed

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 04-10-2015 07:53 AM
#!/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
