How to get temprature of windows server which doesn't support wmic

Greetings
I have invested some time in fetching temperature from the Windows Server Workstation. I tried the temp input plugin, but unfortunately, it uses WMIC on Windows, which currently is not working. Is there any other option?
I tried this custom telegraf plugin but it is not showing up on influx db GitHub - tkohhh/CoreTempTelegraf: CoreTemp Windows Telegraf Plugin

This is what telegraf.conf file looks like

...
[[inputs.exec]]
  commands = ["CoreTempTelegraf"]
  data_format = "influx"
...

Update
I have downloaded the binary and it worked with CoreTempTelegraf