Skip to content

Jamf extension attribute

jelockwood edited this page Jul 16, 2018 · 13 revisions

pinpoint has been designed to also be able to act as a JAMF JSS extension attribute. pinpoint when used in this mode will return a Google map URL which will then be stored as an extension attribute for the matching Mac computer record in JSS. You can thin of this as being equivalent to Apple's 'Find my Mac'.

In order to use pintpoint to populate an extension attribute you need to create the extension attribute as per the picture below.

You then need to paste in to the script box the pinpoint.sh script.

Due to the way extension attributes work in JSS it will be updated at the interval you have defined the JSS recon process to run, this is typically weekly or daily. If this is the only use you make of pinpoint you do not need to directly install pinpoint on the client Macs at all as it will only be run via JSS.

Note: Scripts for extension attributes in JSS cannot be passed command line parameters, you will therefore either need to hard code in to the script itself the Google API key and other parameters, or you will need to make sure these parameters have been created on each client Mac either in a local preference file or by using JAMF JSS to push these preferences as Configuration Profile of type Custom Setting. Here is what an example Custom Setting would look like in JSS.