Posted on 07-02-2018 04:11 PM
Hi All,
New to JAMF and wondering what everyone is using for this. Ideally I'd like a Python/Powershell module that can successfully automate processes. I'd use the JAMF/CASPER CLI if you can successfully script with it too (it handles loops, if statements, etc.)
The tasks I'm looking to do right off the bat are;
1) Deployment of apps to machines
2) Query machine statuses (updates pending, versions, etc.)
3) Policy pushes
Posted on 07-02-2018 08:02 PM
i don't know why you need a module to do any of those things as they are all handled natively by jamf as it is
Posted on 07-02-2018 09:39 PM
JAMF also has excellent native scripting support built in so basically if you can do it from the command line on a Mac you can do it through JAMF with a script in a policy.
Posted on 07-03-2018 02:33 AM
You need to start looking here about the API and for interfacing using python, look here
But you need to understand the topology of the system: you are making queries to the JSS. Not to each machine. You have to wait for each machine to report into the JSS (or prompt it to)