https://github.com/boberito/jamfapi/blob/master/scriptdump.py
Bob Gendler “boberito” writes: Create a folder in /Users/Shared called JAMFScripts. It’ll download and dump them all in there. Or edit that line to point where ever you want. Downloads them and names them as the name is in Jamf with .sh
It hates colons and slashes in the name, so if you have that you’ll have to change the name of your script in the jamf server.