I am trying to create an Extension Attribute that will show the attached thunderbolt display's SN#. I know how to get the info from the command line using /usr/sbin/system_profiler | grep "Display Serial Number"
I have tried to create the Extension Attribute with no luck. Below is what I am using and it is just returning result and the SN.
Thanks
RIchard
#!/bin/sh
result=/usr/sbin/system_profiler | grep "Display Serial Number"
echo "<result>result</result>"
