Posted on 11-17-2020 05:11 PM
Hi All,
So, with Big Sur being OS 11.x, has anyone come up with a good option for not having that collide with 10.11.x?
Say you have a smart group, and you say "OS Version -like 11.". That matches both 11. and 10.11.
Sure, you could also say AND "OS Version greater than 10.15" or something, but it's still something we're going to have to deal with until Apple gets to macOS 17... (since it appears Big Sur updates are going to be 11.x, so the next major release will be macOS 12).
Thoughts? Am I missing something obvious? Should we just ask for regex for OS version and call it a day?
Solved! Go to Solution.
Posted on 11-18-2020 02:15 AM
Use 'Operating System matches regex', and you can have all the precision you want. '^10.11' for 10.11, '^11' for 11,...
Posted on 11-17-2020 06:45 PM
Here's example of current search to avoid collision... yes, there are multiple ways to do this, but it's a bit annoying to have to have multiple conditions.
Posted on 11-17-2020 08:02 PM
@rstasel Why not just use the "greater than or equal" operator with Operating System Version and a value of 11.0? Jamf Pro will (or so I'd hope) evaluate that as higher than 10.11
Posted on 11-17-2020 08:04 PM
@sdagley you’re absolutely right. But obviously that breaks (or rather, would include more than just 11.x) when macOS 12 releases...
Posted on 11-17-2020 08:14 PM
@rstasel You can always us an "AND Operating System Version is less than x.x.x" to provide an upper bound on the range you want a Smart Group to target
Posted on 11-17-2020 08:23 PM
Agreed. I’m not saying there aren’t options (I showed my current one). I’m saying we’ve now hit a problem that it would be nice if Jamf addressed. Regex would fix. So would “starts with” or paying attention to periods (11. != .11.).
Posted on 11-18-2020 02:15 AM
Use 'Operating System matches regex', and you can have all the precision you want. '^10.11' for 10.11, '^11' for 11,...
Posted on 11-18-2020 08:05 AM
@mschroder Thank you! I honestly thought "Operating System" was just some holdover from the attempt to manage windows devices and have largely ignored it.
Perfect! =)
Posted on 06-16-2021 01:20 PM
I thought the same thing... it seems... wrong. But it works so I'll take it.
Posted on 06-16-2021 01:23 PM
yeah, regex works.
11-18-2021 01:18 PM - edited 11-18-2021 01:34 PM
duplicate reply..... sorry...