Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
applicationUsageAPI.sh
createNetworkSegmentsAPI.sh
deleteClassesBySiteAPI.sh
deleteComputersAPI.sh
deleteMobileDevicesAPI.sh
deleteNASourceClassesAPI.sh
deleteUsersAPI.sh
departmentsAPI.sh
directoryReportingAPI.sh
diskReportingAPI.sh
getScopedAppsListAPI.sh
getiPadBySerialAPI.sh
iOSAppInstallMethodsAPI.sh
macStaticGroupAPI.sh
mobileStaticGroupAPI.sh
modifyClassesByGroupAPI.sh
printersAPI.sh
updateComputerPurchasingAPI.sh
updateMobilePurchasingAPI.sh
usersWithComputers.sh
usersWithoutAssignmentsAPI.sh
vppAccountReport.sh

README.md

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.

DepartmentsAPI.sh

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.

GetiPadBySerialAPI.sh

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)

DeleteComputersAPI.sh

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.