![]() path/to/Jamf_Pro_Mobile_Device_Extension_Attribute_Download.sh To download iOS and tvOS extension attributes: path/to/Jamf_Pro_Computer_Extension_Attribute_Download.sh One notable difference is that the macOS extension attributes may download scripts, while the iOS and tvOS extension attributes will only ever be XML files. To store the account password in the plist file:ĭefaults write -info jamfpro_password account_password_goes_hereīoth scripts run in similar ways, with the main difference being which kind of extension attributes are being downloaded. To store the account username in the plist file:ĭefaults write -info jamfpro_user account_username_goes_here ![]() To store the Jamf Pro URL in the plist file:ĭefaults write -info jamfpro_url Jamf_Pro_Mobile_Device_Extension_Attribute_Download.sh – This script is designed to download and handle iOS and tvOS extension attributes.įor authentication, the scripts can accept hard-coded values in the script, manual input or values stored in a ~/Library/Preferences/ file. The plist file can be created by running the following commands and substituting your own values where appropriate:.Jamf_Pro_Computer_Extension_Attribute_Download.sh – This script is designed to download and handle macOS extension attributes.I’ve written two scripts for this purpose: Save the downloaded XML or script as Extension Attribute Name Here to a specified download directory, based on whether it was a String, Integer or Date extension attribute.įor more details, please see below the jump.If it’s a macOS or Windows extension attribute and it has a script, extract the script.Identify if it was a String, Integer or Date extension attribute.Identify the display name of the extension attribute.Download each extension attribute as an XML file using its Jamf Pro ID number.Use the Jamf Pro API to identify the Jamf Pro ID numbers of the extension attributes.To help me manage this, I have two scripts which do the following: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |