Our inventory peeps aren't happy with the fact that Casper displays each model name exactly how Apple names it..
Meaning, they don't like "MacBook Pro (Mid 2012)"
They just want it to say "MacBook Pro" or "MacBook Air"
I've got the follwing ext. attribute that sort of does the trick:
#!/bin/sh
Kind=system_profiler SPHardwareDataType | grep "Model Name"
echo "<result>$Kind</result>"
However that returns the result as: Model Name: MacBook Pro And they still don't like that cuz they have to edit out "Model Name"
Does anyone have any idea how to get it to say just "MacBook Pro" ???
Thanks!!!
A