Using extension attributes values in a policy script

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
03-29-2018
01:39 PM
- last edited on
03-04-2025
07:45 AM
by
kh-richa_mig
I need to run a once-per-day script on each computer which requires a manually-set value for each computer which currently lives in the extension attributes for the computer.
- Is this the best way to keep computer-specific values in the JSS?
- How do I extract that value into the script so it can be used?
Thanks in advance.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on 03-29-2018 01:46 PM
You would need to write a script using the API to get that value from the computer record in the JP server. Rather than write another script of which was likely done already a few times, I would say to search here on API scripts, maybe include 'getting an EA value back' and you will find some good examples.
If you still can't locate anything that helps you, post back and I can throw an example together for you.
