Recently I was asked if it was possible to retrieve the version number from an AppSense configuration file. Yes, I know that you are able to track this in the Management Server but what about the occasions when you just want to check the endpoint? What about getting the information so that you can use it in other things, BGInfo was one cited to me?
Well, the script below lets you do just that. Just point it to the config file and run it. It echoes to the screen but there is no reason why you couldn’t turn this into a function and return the value or even set as an Environment Variable if you so desired.