Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Precache Now Pulls Models From Jamf Pro

Added 3 new flags into Precache tonight: –jamfserver, –jamfuser, and –jamfpassword. These are used to provide a Jamf Pro server (or cloud instance), the username to an account that can list the mobile devices on that server, and a password to that account respectively.

Basically, when you provide these, the script will pull a unique set of models and then precache updates for them. It’s similar to grabbing a list of devices:

curl -s -u myuser:mypassword https://myserver.jamfcloud.com/JSSResource/mobiledevices

And then piping the output of a device list to:

perl -lne 'BEGIN{undef $/} while (/(.*?)/sg){print $1}'

And then running that array as an input to precache.py. Hope this helps make the script more useful!

The post Precache Now Pulls Models From Jamf Pro appeared first on krypted.com.



This post first appeared on Krypted.com | Tiny Deathstars Of Foulness, please read the originial post: here

Share the post

Precache Now Pulls Models From Jamf Pro

×

Subscribe to Krypted.com | Tiny Deathstars Of Foulness

Get updates delivered right to your inbox!

Thank you for your subscription

×