How do I send Powershell outputs into Grafana?


I’ve been asked to somehow get some PowerShell commands the team use (for Citrix, Exchange etc) and send the outputs to Influx so we can display in our Grafana setup.

I’m installed the influx PowerShell module on a member server to do this, but I just can’t find any example or templates on how to even start doing this.

If I have a basic PowerShell script how do I get it to use the Influx module and send to a database in InfluxDB for Grafana to use?