CMK-Agent-Ctl.exe/TLS error

Anders, out of curiosity, what command/syntax did you run to use for automating agent registration. I notice utilizing %computername% doesnt work periodically as some of my implemented hosts in Checkmk are lower/upper case. Not my doing. Do you know of a syntax to use? Something has to work as surely i dont need to run registration manually on 800+ hosts. I have been looking everywhere for some feedback. I will also need a syntax for Linux as well.

“C:\Program Files (x86)\checkmk\service\check_mk_agent.exe” ^
updater register -s checkmk.mnp.ca -i monitoring -H %computername% -p https -U userx -P userx -v