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 removes a list of machines from one PreStage Enrollment and adds them to another | |
#Checks are applied to see if all machines are able to move between these two PreStages as intended | |
#This should help keeping track | |
# | |
#standing on the shoulders of giants: | |
#https://community.jamf.com/t5/jamf-pro/creating-an-authorization-token-with-jamf-pro-api-help-would-be/m-p/186172 | |
#https://developer.jamf.com/jamf-pro/reference/computer-prestages-1#put_v2-computer-prestages-id-scope | |
#https://gist.github.com/talkingmoose/327427d23b422000f9d17183f8ef1d22 | |
###Thank you very much #### |