Skip to main content
Question

BigFix Client version extension attribute

  • June 20, 2010
  • 1 reply
  • 0 views

bentoms
Forum|alt.badge.img+35
  • Legendary Contributor
  • 4331 replies

As per subject, save the below & you’ll get either the version of the BigFix Client installed.. Or you’ll get a message of Not Installed.

This is Mac only for now, I’ll have an attempt at the VBScript when I can... Unless someone else wants to finish that bit :)

#!/bin/sh
#This script has been verified to work on BESAgent 7.2.6.4

#Check to see if BESAgent is installed
if [ -d "/Library/BESAgent/BESAgent.app" ]; then result="$(defaults read /Library/BESAgent/BESAgent.app/Contents/Version CFBundleVersion)" echo "<result>$result</result>"
else echo "<result>Not installed</result>"
fi

1 reply

Forum|alt.badge.img
  • New Contributor
  • 1 reply
  • May 23, 2024

Updated this Extension Attribute for Big Fix:

#!/bin/sh result=`defaults read /Library/BESAgent/BESAgent.app/Contents/version CFBundleVersion` if [ $result == "" ]; then echo "<result>Not Installed</result>" else echo "<result>$result</result>" fi

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings