Jamf Blog
April 1, 2021 by Haddayr Copley-Woods

Take your basic scripting skills to the next level

Bill Smith is at it again— this time with this clear, concise how-to on automating three common Apple admin tasks with scripting. If you want to push your beginner scripting tools into the intermediate category, his latest scripting guide is for you.

Amaze your friends, delight your boss and thwart your enemies with your new scripting skills after learning from one of the humblest Apple admin rockstars around: our very own Bill Smith, aka talkingmoose.

Bill Smith's popular webinar and paper on Apple scripting for beginners now has an accompanying paper based on his Scripting 201 webinar for those who want to take their scripting skills to the next level.

Apple Scripting: An intermediate guide to automating common tasks offers detailed, step-by-step instructions on automating three common Apple admin tasks with three useful tools:

  • Writing text to a file and retrieving it for later use
  • Using script parameters in Jamf Pro
  • Creating interactive dialogs using jamfHelper and osascript

Writing text to a file for later retrieval through Terminal using the echo command can be very handy for leaving behind a provisioning receipt that lets you know when a Mac was prepared and deployed and who built it. You can also add dates, departments and other information.

Using script parameters in Jamf Pro can help with creating and setting policies, provisioning and configuring setups.

And you can create dialogue boxes for walking users through necessary steps when onboarding or other step-by-step procedures with Jamfhelper and osacript.

Through it all, Bill walks you through understanding and implementing these scripts with detailed scripts you can use yourself, places to find other helpful scripts online, and how to set options and parameters using your new scripting skills.

Photo of Haddayr Copley-Woods
Haddayr Copley-Woods
Jamf
Haddayr Copley-Woods is a senior copywriter at Jamf. She writes about tech, specializing in Apple and Jamf with a focus on education, accessibility and security.
Subscribe to the Jamf Blog

Have market trends, Apple updates and Jamf news delivered directly to your inbox.

To learn more about how we collect, use, disclose, transfer, and store your information, please visit our Privacy Policy.