Originally Posted by penguin3107
gibson... the user wants to script this, so it's a bit more involved that you're indicating.
To my knowledge, the license quantities aren't stored in the config DB in any usable format for scripting. This issue has been brought up here before, and I don't think a good answer has ever been found.
probably a good reason for this as if one knew where/how they stored the # of licenses, then one could manipulate that information.