Hi
I'm busy creating extension attribute scripts, and would like to be able to use the same scripts whether I'm running them in JAMF or independently on our Macs.
When I'm creating a JAMF extension attribute, I obviously need to add the <result></result> tags at the end, whereas if running the same script directly on a mac, I don't need these tags.
Is there a way to check the environment that the script is running in so that I can then choose whether to add the tags or not?
Any ideas welcome!
Cheers,
Mags