Thanks to Mr Larkin's awesomest script ever :) I have now managed to get
a report for Users and Macs by using Extension Attribute as below.
- Login to your JSS
- Settings
- Inventory Options
- Inventory Collection Preferences
- Extension Attributes
- Add Extension Attributes
- Input Type: Populated by Script
- Then copy and paste the script below in to "Mac OS X Script Contents" section
#!/bin/sh
echo "<result>`dscl . -list /Users UniqueID |awk '$2 > 500 { print $1
}'`</result>"
- Click "OK"
- Click "Save"
- In Inventory create new Advance Search and in Display Fields select the Extension attribute that you have created.
Thanks again Tom
Cem
