sc create <name> binpath="<path_to_exec>"
ex:
sc create wazuh binpath="c:\Program Files (x86)\ossec-agent\wazuh-agent.exe"
curl -s -o /dev/null -w "Conecction: %{time_connect}s | Start transfer: %{time_starttransfer}s | Total time: %{time_total}s\n" ...