Hi GradyGoose,
I believe this is a macOS related topic so in the future please consider posting similar topics in this forum section:
https://forums.openvpn.net/viewforum.php?f=38
As for how the command works in Mosyle, I'm not sure.
But the Connect app has a CLI functionality that will display the build number you are looking for.
Via the terminal navigate to the following folder:
/Applications/OpenVPN Connect.app/Contents/MacOS
Execute the next command:
./OpenVPN\ Connect --version
Hope this was helpful.
With Regards,
JosephS