Select the Scripts payload and click Configure. Use the General payload to configure basic settings for the policy, including the trigger and execution frequency. I also recommend as a jumping-off place for new Mac Admins. Click the Computers tab at the top of the page. It can give you a great introduction to using Jamf in your environment, and also a great introduction to being a Mac Admin. The Jamf 100 course is freely available here.
Instead, I recommend you either use the MDM "download and install" command within Jamf to trigger the same, or you leverage a tools like Nudge to nudge your end-users into applying the updates as downloaded in System Preferences -> Software Updates pane. You’ll find examples for setting time zones, disabling guest access, updating Microsoft Office for Mac, renaming the Macintosh HD and configuring DNS servers. Just copy and paste it into a Text Editor like BBEdit or TextMate, check for syntax errors, and then copy and paste into your script area that I talked about in Answer 1 above.ģ) Security updates? For the OS? For Jamf? For a particular app? If you're asking about OS security updates, I do not recommend that you try to package these and have Jamf apply them. How does Jamf write scripts Visit our scripts area on Jamf Nation for more than 100 Jamf and community-contributed scripts you can download and use in Jamf Pro. These functions perform the actual API tasks on your Jamf Pro server.
All scripts use a series of functions inside the Resources folder. building packages in a consistent, repeatable manner from source files and scripts in a project directory. I'm assuming you've found a script posted somewhere by someone and you want to use it. Collection of scripts using the Jamf Pro API to simplify repetitive tasks. JSSImporter: Connects Autopkg to Jamf Pro. In Display Name, enter the name of your script.f. In the Computer Management section, click Scripts. In the left menu, click Computer Management then click Scripts. Adding a Script to Jamf Pro In Jamf Pro, click Settings in the top-right corner of the page.
To review, open the file in an editor that reveals hidden Unicode characters. Click "New", give it a title and then you can paste the plaintext contents of your script.Ģ) "Download the script from Apple website". Log in to your Jamf Pro instance, for example: Click the cog icon in the top left of the screen to open All Settings. This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. Let's address them one at a time:ġ) You can add a script to Jamf by navigating to Settings -> Computer Management -> Scripts.