Welcome to my blog

Join me on my journey as I share my insights and experiences on all things Apple, Business and Entrepreneurship!

Automation

2025

automation macos jamf

The Power of Scripting App Updates Without Deploying Packages

Keeping macOS environments up-to-date in a seamless, efficient, and low-maintenance way has always been a challenge for IT admins. Traditional package deployment workflows can be time-consuming, prone to versioning issues, and require extensive testing and repackaging. But there’s another way—a more elegant, nimble approach: scripting. Scripting app installations and updates allows you to skip the packaging step entirely. Instead, you leverage trusted sources, automate installation logic, and let Jamf do what it does best—run policies and execute scripts. Below are three real-world examples that demonstrate the power of scripting app...

automation macos jamf

Detecting Invalid Characters and Long Paths in OneDrive on macOS

Microsoft OneDrive is widely used for syncing documents across devices, but on macOS, it can silently fail to sync certain files if they violate Windows filesystem rules — like overly long paths or invalid characters. This creates frustrating experiences for end users who don’t know why files aren’t syncing. To address this issue, I created a script — check_onedrive_paths.zsh — which detects common pathing issues and logs them to a file for JAMF or local review. 🔍 What the Script Does This Zsh-based script is designed to scan a user’s...

automation macos jamf

Using a script to Enable FileVault via JAMF: A Word of Caution

Enabling FileVault is a critical step in securing macOS devices, particularly in managed environments like schools, enterprises, and remote teams. For administrators using Jamf Pro, automating this process can simplify device onboarding and ensure compliance with disk encryption policies. One such script, Add_FV_Prompt.sh, helps automate the addition of users to FileVault by prompting for credentials via osascript and passing them to fdesetup. While it’s functional and useful in certain edge cases, there are security caveats to be aware of. ⚙️ What the Script Does The Add_FV_Prompt.sh script enables FileVault for...

github-actions automation macos jamf ci-cd chatgpt

Automating Script Versioning, Releases, and ChatGPT Integration with GitHub Actions

Automating Script Versioning, Releases, and ChatGPT Integration with GitHub Actions Managing and maintaining a growing collection of scripts in a GitHub repository can quickly become cumbersome without automation. Whether you’re writing bash scripts for JAMF deployments, maintenance tasks, or DevOps workflows, it’s critical to keep things well-documented, consistently versioned, and easy to track over time. As my collection of macOS automation and JAMF-related scripts grew, I began to encounter common pain points: Forgetting to update version numbers or authorship information before commits Manually creating GitHub releases for every meaningful script...