Skip to main content
Solved

Skype version check on MAC

  • February 13, 2017
  • 3 replies
  • 30 views

Forum|alt.badge.img+6

Hi,

Is there a way to find Skype version in all the managed mac devices in my company?

I tried with the extension attribute but the script is not populating the results.

Best answer by millersc

#!/bin/sh
#
# Gets currently installed version of Skype for Business
#
if [ -f "/Applications/Skype for Business.app/Contents/Info.plist" ] ; then
    VERSION=$( defaults read '/Applications/Skype for Business.app/Contents/Info.plist' CFBundleShortVersionString )
else
    VERSION="Not installed"
fi
echo "<result>$VERSION</result>"

Try this. Remember it does need to do a recon before it will populate EA's. It's only going to be the version number (16.3.241) or Not Installed.

3 replies

Forum|alt.badge.img+10
  • New Contributor
  • Answer
  • February 13, 2017
#!/bin/sh
#
# Gets currently installed version of Skype for Business
#
if [ -f "/Applications/Skype for Business.app/Contents/Info.plist" ] ; then
    VERSION=$( defaults read '/Applications/Skype for Business.app/Contents/Info.plist' CFBundleShortVersionString )
else
    VERSION="Not installed"
fi
echo "<result>$VERSION</result>"

Try this. Remember it does need to do a recon before it will populate EA's. It's only going to be the version number (16.3.241) or Not Installed.


Forum|alt.badge.img+6
  • Author
  • Contributor
  • February 14, 2017

Thank you so much @millersc :-)


Forum|alt.badge.img
  • New Contributor
  • May 9, 2018

Will this EA query for all versions of S4B, specifically version 15 and 16? I have been running this and have found Skype for Business 16 but have not identified any endpoints with version 15. Just wanted to make sure that this applies for S4B 15 as well.

Edit: I don't believe there were actually any versions before 16. Please correct me if i'm wrong.