Saw some really cool presentations this year at JNUC 2020 and got inspired to share some scripting of my own.
Here's a jamfHelper script that lets you scan machines to see if they're up to date with a particular OS version you've defined. If not, and if the machine has pending updates, send the user a customized jamfHelper prompt. Then, when they click "Ok," open them straight to the Software Update panel in System Preferences. We've found this really helpful for our own macOS patching efforts.
All parameters have been written so you can copy-paste straight into your JAMF scripts section.
You can also use the parameters to:
- Choose not to open Software Update once the user clicks 'Ok'
- Set a custom icon by providing a url to an icon file
- Send them a prompt even if they have the OS Version you're looking for but have pending updates (Helpful for those supplemental updates where a user's OS version is up to date but their patches are not).
The readme explains which parameters do what, as well as provides plenty of other context as to what's going on.