Scripts used to help manage jamf pro
macOS-Upgrade.zsh - Script meant to be used as policy 1 in a 2 policy workflow to upgrade macOS major versions. Meant to be used in conjunction with Erase-Install (https://github.com/grahampugh/erase-install) in policy 2 which uses the jamf policy trigger "erase-install". Download the erase-install script and upload it into your jamf pro environment. Then set up a policy with the erase-install script and a custom trigger "erase-install". Alternatively, you can use a different trigger, but make sure to modify the trigger in this script as well. You may also choose to use a different method of doing the update as policy 2, but YMMV.