Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# Script Name: jamfMigrator.sh
# By: Patrick Gallagher
# Updated: 06/11/2019
version=1.2.7
oldJSS="https://oldjss.company.com:8443"
newJSS="https://newjss.company.com"
ComputerName=$(/usr/sbin/scutil --get ComputerName)
#!/bin/zsh
## postinstall
pathToScript=$0
pathToPackage=$1
targetLocation=$2
targetVolume=$3
# Optionally replace the value of this variable with the name of your organization.
organizationIdentifier=com.arekdreyer
@arekdreyer
arekdreyer / postinstall-for-Composer-for-DEPNotify.zsh
Last active April 5, 2024 21:36
Postinstall script for Jamf Composer to install DEPNotify with supporting scripts and a LaunchDaemon
#!/bin/zsh
## postinstall
pathToScript=$0
pathToPackage=$1
targetLocation=$2
targetVolume=$3
# This postinstall script for Composer creates the following
# A LaunchDaemon that starts a separate script to run a Jamf Pro policy command
@opragel
opragel / laziest_install_microsoft_office2016.sh
Last active June 25, 2024 22:33
laziest_install_microsoft_office2016.sh
#!/bin/bash
# witness the horror
# seriously don't do this
# last warning.. maybe
# Guess I'm putting a license in
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
# You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and limitations under the License.