Skip to main content
Question

Retrieving Existing Scripts From JAMF Server

  • Jan 23, 2024 8:00 PM UTC
  • 3 replies
  • 145 views

jameshwesson
Forum|alt.badge.img+3

Are there any tools for retrieving and downloading existing scripts that are currently stored on the JAMF server? 

3 replies

jamf-42
Forum|alt.badge.img+17
  • Esteemed Contributor
  • Jan 23, 2024 8:11 PM UTC

use https://github.com/jamf/JamfMigrator and set it to export only.. 


stevewood
Forum|alt.badge.img+38
  • Hall of Fame
  • Jan 23, 2024 8:12 PM UTC

Easiest method is to use the API, and good ole Rich Trouton has a script for that. Run this from your machine since you will be storing credentials. Just edit the download directory, the URL, user, pass, and you should be good.

 

https://github.com/rtrouton/rtrouton_scripts/blob/main/rtrouton_scripts/Casper_Scripts/Jamf_Pro_Computer_Script_Download/Jamf_Pro_Computer_Script_Download.sh 


jameshwesson
Forum|alt.badge.img+3
  • Author
  • New Contributor
  • Jan 23, 2024 8:18 PM UTC

Thank you so much Steve.