Jamf API Scripts
These Scripts all utilize Jamf’s REST API to do something useful in the JSS. You always need to enter your JSS URL and Administrative Credentials. Some Scripts additionall require a CSV or other input.
Purpose: Use this Script to make a bunch of Departments all at once. You just need to feed in a .txt file containing each Department name to add. Put each Department name on a new line.
Purpose: Get all Inventory information for a single iPad by entering its Serial Number. This is returned as XML. Sometimes useful for troubleshooting potentially incorrect Inventory Display (when Tomcat is displaying one thing, but MySQL says differently)
Dangerous Purpose: This is a small atomic bomb you can run to delete a handful of computers out of your JSS. You need a CSV with the JSS ID for each computer you want to delete. This is probably a bad idea to run, but sometimes it’s necessary. Use with caution.