I wanted to be able to have quick way of finding all of my managed Macs with a T2 chip. I made a smart group that tracks by model and it seems to work well, but I don't know if there's a way to use an extension attribute to query each system for the presence of a T2 chip. We can do this with the processor architecture. Can we do this to detect a T2 chip?
Solved
Extension attribute to track Macs with T2 chips?
Best answer by mm2270
This command will print out the chip type, though I don't usually like to use system_profiler in EAs. If anyone knows of a faster command to use to get it, please post here.
/usr/sbin/system_profiler SPiBridgeDataType | awk -F': ' '/Model Name:/{print $NF}'
On my T2 Mac it prints back:
Apple T2 Security Chip
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.

