Hi All,
We have just purchased 3 Mac Studios with Apple Studio Displays.
The problem is I would like to record the serial/asset numbers of the displays to the Mac Studio they are connected to.
Anyone got any ideas around this?
Hi All,
We have just purchased 3 Mac Studios with Apple Studio Displays.
The problem is I would like to record the serial/asset numbers of the displays to the Mac Studio they are connected to.
Anyone got any ideas around this?
Best answer by PhillyPhoto
I wrote an EA for the firmware and saw this post, and figured why not one for the serial number too? This should work:
#!/bin/bash
result="<result>NOT Found</result>"
if [[ $(system_profiler SPDisplaysDataType | grep -i "Studio Display") != "" ]]
then
dispSN1=$(system_profiler SPDisplaysDataType | grep -i "Display Serial Number:")
dispSN2=${dispSN1#*: }
dispSN3=${dispSN2%\\n*}
result="<result>$dispSN3</result>"
fi
echo "$result"Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.