This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# v 0.9, released January 28th, 2017 | |
# This script is designed to evaluate a current ManagedInstalls.plist file, then make a change to the specified key. The script will then log a success message to a Slack webhook. | |
# Original Script authored by Tom Bridge, with advice from Richard Purves, Ben Toms and others. | |
# You will need to supply your own preference keys to check, as well as preferred values. | |
# Make sure to get your own Slack Web Hook URL from the Customizations and Apps section of your Slack Control Panel. | |
# Copyright 2017 Tom Bridge, Technolutionary LLC |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# This script is designed to evaluate a current ManagedInstalls.plist file, then make changes to the specified key. The script will then log a success message to a Slack webhook. | |
MPL="/Library/Preferences/ManagedInstalls.plist" | |
DEFAULTS="/usr/bin/defaults" | |
PREFSTOCHECK=() | |
SHOULDBE=() | |
CHANGED=() | |
DIDSET=() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
:<<ABOUT_THIS_SCRIPT | |
------------------------------------------------------------------------------- | |
Written by:William Smith | |
Professional Services Engineer | |
Jamf | |
[email protected] | |
https://gist.github.com/e9ed319226c6da30dd633725e48a97b0 |