Strings
We'll leave it to our readers to debate the pros and cons of writing a script that depends on the format of a copyright string in order to keep a production line ticking over.
The world runs on those kind of things quite often because text is all you get from the relevant system and if you've looked at a couple of bash scripts you'll see the same: query something for its version and parse the response. More annoying perhaps, is the lack of flags on command line tools in windows combine this with the prediliction for localisation on Windows and reliably getting system informatin becomes a chore. Though I've just found that systeminfo /FO CSV returns something nearly usable.