Posted on 01-03-2022 08:56 AM
Hi all, I'm new to Jamf Pro and am struggling to find out how I can exclude a machine before it's enrolled with Jamf. We apply a few profiles and run a few policies on enrollment but I need to replace a few of them with the profiles/policies I am testing. I have an unenrolled VM with a known hostname and serial number. Is there any way to accomplish this? Thank you,
Posted on 01-03-2022 09:21 AM
Hi, since Jamf policies rely on scoping to either a specific computer/smart group. It's best to create a smart group, use Serial Number as a criteria and add the serial you want to exclude. Then in your policy, you can add the smart group in the exclusion.
Posted on 01-03-2022 02:55 PM
@junjishimazaki is correct.
I needed to do something like this for multiple test machines so I created a separate Prestage Enrollment profile (we use DEP as a part of our enrollment process). I then created a smart group with the proper "Prestage Enrollment" criteria and I use that group for my policy testing exclusions/inclusions
Posted on 01-04-2022 04:27 AM
Exclude test devices through Smart group
Posted on 01-04-2022 05:29 AM
Make a smart group that targets devices enrolled within the last XYZ days and exclude that group from your scope. This will exclude all newly enrolled devices, so it may not work as you need.