My scripts for JAMF Pro are now on GitHub

I’ve been heavily involved in the implementation of my company’s JAMF Pro (a macOS system management tool) installation over the past year and one of the more powerful abilities of the JAMF system is to utilize shell scripting to expand its capabilities.

Now, I’m no coder but I can muddle my way through shell scripting pretty effectively and have used that skill to create a bunch of customizations for our system. Since the JAMF community is an open one where users share their work for others to use, I figured it was high-time I throw my hat in the ring and add what I can to the user community.

So I’ve posted a collection of scripts and “extension attributes” to my GitHub account (this also has the added benefit of giving me an excuse to finally try and figure out GitHub). There’s nothing really mind-blowing here but, hopefully, someone will find it useful or, at least, crib some code to do something better,

The initial collection, now available at, includes:

Extension Attributes

  • (updated from older scripts I’ve seen)
  • (using fdesetup, as diskutil no longer works w/ 10.13)
  • (stores assigned site so you can actually SEARCH on it!)
  • (I use this to spawn reminders toreboot after 30 days)


  • (generates a pop-up and prompts for a site to assign to)
  • (Canon printer drivers install w/ duplex on by default)
  • (for printers w/ Fiery RIPs)
  • (use this to avoid running code when a user may be doing something, like presenting, that you don’t want to interrupt)
  • (verifies system enrollment in JAMF, intended forSelf Service and as something to reassure end users)

Read More

Hiding a user’s posts in Slack

Needless to say, I haven’t been updating this blog for a while now – I’ve been pre-occupied with my new job for the past year and am now getting to a point to where I feel like I have my feet on the ground again, so I’m looking forward to posting some new tips here going forward…

Amongst other things, the new job has thrown me head-first in to Slack, a tool I’ve long been aware of but haven’t had any practical need to use before now. It’s a great tool that can be a bear to manage and, in my opinion, has a long way to go to provide all of the message management tools one needs. The good news is that they, as an organization, are good listeners and and are working quickly to improve their toolset.

One of the things I’ve found myself wishing for was the ability to block posts from particular users – when you’re a member of a large(-ish) Slack team, you inevitably have one or two users who post to your channels who, frankly, post nothing of any value. While Slack does not offer this ability, I found something on GitHub that works like a champ: Happy Slack! is a Chrome extension that, with a little data digging, acts similarly to an ad blocker and will auto-remove posts from specified users.

It should go without saying that this only works if you’re using Slack via a web browser (as opposed to using the desktop client). If you aren’t doing this already, give it a go – the web interface is excellent and 95% of what’s offered by the desktop client.

Read More