Skip to content

Instantly share code, notes, and snippets.

View salihzett's full-sized avatar

salihzett

View GitHub Profile
#!/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
@tbridge
tbridge / changemunki-tellslackmanythings.sh
Created February 7, 2017 16:32
A short bash script to change settings in munki and notify a Slack channel.
#!/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=()
@talkingmoose
talkingmoose / MegaPKGr.zsh
Last active June 26, 2023 05:37
The pkgbuild binary and Jamf Composer don't support adding single files of 8 GB or more to a package. Some apps like Install macOS Big Sur.app include files larger than 8 GB in their bundles. This script will create a deployable PKG file from apps whose bundles include those large files.
#!/bin/zsh
:<<ABOUT_THIS_SCRIPT
-------------------------------------------------------------------------------
Written by:William Smith
Professional Services Engineer
Jamf
[email protected]
https://gist.github.com/e9ed319226c6da30dd633725e48a97b0