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