Posted on 10-17-2019 11:13 AM
I am not sure where I saw the request for macOS Catalina on a Mac with a T2 Security Chip showing Activation Lock Status, but we are using the enclosed script/EA
Chip="$(system_profiler SPiBridgeDataType | awk -F: '/Model Name/ {print $NF}' | sed 's/^ *//')"
activationLockStatus=$(/usr/sbin/system_profiler SPHardwareDataType | awk '/Activation Lock Status/{print $NF}')
if [[ $Chip != "Apple T2 Security Chip" ]]; then
exit
else
echo "<result>$activationLockStatus</result>"
fi