Skip to main content
Question

Help creating a custom trigger to re-enroll or run quickadd again? Or a command?

  • October 3, 2013
  • 3 replies
  • 22 views

Forum|alt.badge.img+8

Hi All,

We have many random client machines that are in JSS, but the client does not have the MDM installed (for some reason) and therefore is not receiving some of the profiles we have scoped out. My thought was to create a policy to run quickadd to re-enroll them, with the custom trigger being that they don't have the MDM profile. I may be going about this wrong. But basically we need to re-enroll them so they get the Profiles (MDM, Restrictions, etc). It is like they are in JSS, but not "in" JSS.

Unless there is a command we can send out to do the same thing...

THanks!

3 replies

stevewood
Forum|alt.badge.img+38
  • Hall of Fame
  • October 3, 2013

You don't necessarily have to run QuickAdd, you should be able to simply do:

jamf enroll

The trick would be creating a SmartGroup to capture the machines that do not have MDM enabled. Once you've clobbered the SmartGroup, the policy is easy.


Forum|alt.badge.img+8

Let me see if I can clobber


Forum|alt.badge.img+8

Running the "jamf enroll" command does not work. Not sure why. Quickadd seems to work (when it works). Quickadd is cranky sometimes.