Posted on β10-29-2021 01:43 AM
Hi All,
Just wondering .. Using the JAMF API - Can I check that prestage a macOS in enrolled in or part of?
Rk
Posted on β10-29-2021 06:28 AM
Hi @rkeleghan,
If you're using the Classic API you can't retrieve any info of your PreStage like computers went through, profiles used, or skip setup items.
You could only check if a specific computer has gone through DEP and you would assume that a PreStage has been created thanks to the "management_status" property:
With the Jamf Pro API you could check the option "/v2/computer-prestages/{id}" to see all the devices with that exact profile and therefore make other searches:
Hope it helps.
Posted on β01-14-2022 03:55 AM
Using talking moose 's code (thanks a lot!) I did a litte script to move machines from one PrestageEnrollment to another https://gist.github.com/MichaelandMore/d19ccf71f5486ce0db442eedf85953dc