Jamf find Monterey Compatible Macs with regex

William Smith (talkingmoose) posted some helpful logic to search for Monterey Compatible Macs with regex in Jamf Pro http://talkingmoose.net/ | https://github.com/talkingmoose

1. Set of regex

(^Mac13|MacBook(10|9)|MacBookAir(10|[7-9])|Macmini[7-9]|MacPro[6-7]|iMacPro1|iMac(1[6-9]|2[0-2])),\d|MacBookPro1(1,[45]|[2-8],\d)

2. Set of regex

(^Mac13|MacBook(9|\d{2})|MacBookAir([7-9]|\d{2})|Macmini([7-9]|\d{2})|MacPro([6-9]|1\d)|iMacPro[1-9]|iMac(1[6-9]|2[0-9])),\d|MacBookPro1(1,[45]|[2-9],\d)


Link:
https://gist.github.com/talkingmoose/74731895981b14da4ce1d524eeebdf1d

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *