Skip to main content
Question

Regex for unsupported macOS Ventura computers


kgam
Forum|alt.badge.img+8
  • Valued Contributor
  • 51 replies

If anyone needs it for scoping this regex will include all computers _not_ supported by macOS Ventura. So when new models are released you won't have to update the regex.

^(iMac[1-9],\\d|iMac1[0-7],\\d|Macmini[1-7],\\d|MacPro[1-6],\\d|MacBook[1-9],\\d|MacBookAir[1-7],\\d|MacBookPro[1-9],\\d|MacBookPro(10|11|12|13),[0-5])

2 replies

Forum|alt.badge.img+16
  • Honored Contributor
  • 334 replies
  • September 12, 2022

You can also use this Extension Attribute to cover that and most of the other versions of macOS.


kgam
Forum|alt.badge.img+8
  • Author
  • Valued Contributor
  • 51 replies
  • June 19, 2023

Updated for macOS Sonoma:

^(iMac[1-9],\\d|iMac1[0-8],\\d|Macmini[1-7],\\d|MacPro[1-6],\\d|MacBook\\d*,\\d|MacBookAir[1-7],\\d|MacBookPro[1-9],\\d|MacBookPro(10|11|12|13|14),[0-5])


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings