Home > Casper, Mac administration, Mac OS X > New Operating System Version smart group operators available in Casper 9.93

New Operating System Version smart group operators available in Casper 9.93

As a follow up to yesterday’s post about setting up smart groups which automatically include a specified operating system and later, my colleague Erik Gomez sent me a heads-up about a new feature in Casper 9.93:

As part of Casper 9.93, JAMF has included new smart group operators as part of supporting its new patch reporting feature. The Operating System Version is one criteria which was updated and it now has the following operators available:

  • Is
  • Is Not
  • Like
  • Not Like
  • Greater Than
  • Less Than
  • Greater Than or Equal
  • Less Than or Equal

Screen Shot 2016 08 05 at 9 27 44 AM

The new Greater Than and Less Than operators can completely replace the technique I’ve been using, as they make it straightforward to specify an operating system version number and then set the appropriate operator to automatically include all Macs whose OS version numbers are greater or less than the specified version number. For more details, see below the jump.

Looking at an example from my previous post, I had set up a smart group for Macs running 10.9.x and later by excluding Macs running 10.1.x – 10.8.x:

Operating system not like: 10.1.
AND
Operating system not like: 10.2.
AND
Operating system not like: 10.3.
AND
Operating system not like: 10.4.
AND
Operating system not like: 10.5.
AND
Operating system not like: 10.6.
AND
Operating system not like: 10.7.
AND
Operating system not like: 10.8.

view raw
gistfile1.txt
hosted with ❤ by GitHub

Screen Shot 2016 08 05 at 9 25 57 AM

With Casper 9.93’s new Operating System Version criteria for smart groups, I can replace all the exclusions entirely and replace it with the following criteria:

Operating System Version greater than or equal to: 10.9

view raw
gistfile1.txt
hosted with ❤ by GitHub

Screen Shot 2016 08 05 at 9 34 23 AM

It’s also straightforward to set up a smart group for 10.8.x and earlier, using the following criteria:

Operating System Version less than: 10.9

view raw
gistfile1.txt
hosted with ❤ by GitHub

Screen Shot 2016 08 05 at 9 36 12 AM

To access the new operators, the Operating System Version criteria is available via the Show Advanced Criteria button when creating or editing a smart group.

Screen Shot 2016 08 05 at 9 27 01 AM

Screen Shot 2016 08 05 at 9 27 26 AM

  1. seabash
    August 17, 2016 at 7:39 pm

    Yes, these new operators are very welcome to JSS admins. At the same time, it reminds me of when copy/paste functions finally arrived on iPhone OS 3.0 (early ’09); most of us thought: how could a basic function have taken so long? This is not a complaint, though. This will certainly compel us to 9.93 upgrade sooner than later.

  2. December 22, 2016 at 3:06 am

    Using Version, Major Version, and Major.Minor Version, can reduce overhead from “Like” and “Not Like”.

    https://www.jamf.com/jamf-nation/discussions/22528/version-major-version-major-minor-version-and-the-weather

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: