I create the fallowing script to use as an Extension Attribute
if [ -d /Applications/Adobe Photoshop CS4/Adobe Photoshop CS4.app ] ; then
/usr/bin/defaults read /Applications/Adobe Photoshop CS4/Adobe Photoshop CS4.app/Contents/Info CFBundleShortVersionString
else
printf "%s
" "CS4 is not installed"
fi
if [ -d /Applications/Adobe Photoshop CS6/Adobe Photoshop CS6.app ] ; then
/usr/bin/defaults read /Applications/Adobe Photoshop CS6/Adobe Photoshop CS6.app/Contents/Info CFBundleShortVersionString
else
printf "%s
" "CS6 is not installed"
fi
exit 0
When I run it on my Mac it shows me the version number for all version of Photoshop on my Mac.
When I run it as an Extension Attribute no results show up in the inventory report.
How can I get the script to show results in in JSS Casper EA?
