Support Ticket #15223402
Need ability to programmatically check if the license is valid for upgrades, and get max licensed version if not.
This is partly because when run non-interactive upgrades ignore if the license check fails and installs the upgrade anyway, which then breaks the instance. See https://control.product.connectwise.com/en/communities/1/topics/3879-sc-server-msi-should-abort-upgrade-if-license-check-fails-even-without-interactive-gui for details of that
Ability to programmatically check license state / upgrade eligibility would also allow us to have our monitoring system monitor for license expiration to ensure any missed renewal is renewed ASAP. Local script / PowerShell etc preferred.
Customer support service by UserEcho