Telegraf not sending data to InfluxDB / Powershell

Hi All!
I’m new to influxdb and telgraf. I’ve been trying to use a Github project where metrics are being collected from a product called vCloud Director (powershell script https://github.com/vMarkusK/Grafana-Telegraf-vCloud-PsCore/blob/master/vCloud.ps1) and make them available to grafana dashboards.
I followed all steps but I cannot make telegraf to send data to InfluxDB

telegraf@grafana-01:~$ telegraf --config-directory=/etc/telegraf --test --input-filter=exec
2020-07-21T00:04:09Z I! Starting Telegraf 1.14.5
2020-07-21T00:04:09Z I! Using config file: /etc/telegraf/telegraf.conf
2020-07-21T00:04:09Z D! [agent] Initializing plugins
2020-07-21T00:05:09Z E! [inputs.exec] Error in plugin: exec: Command timed out. for command ‘pwsh /scripts/Grafana-Telegraf-vCloud-PsCore/vCloud.ps1’:

/etc/telegraf/telegraf.conf

###############################################################################

INPUT PLUGINS

###############################################################################

[[inputs.exec]]
commands = [“pwsh /scripts/Grafana-Telegraf-vCloud-PsCore/vCloud.ps1”]
name_override = “vCloudStats”
interval = “60s”
timeout = “60s”
data_format = “influx”

/etc/telegraf/telegraf.conf

Configuration for sending metrics to InfluxDB

[[outputs.influxdb]]

The full HTTP or UDP URL for your InfluxDB instance.

Multiple URLs can be specified for a single cluster, only ONE of the

urls will be written to each interval.

urls = [“unix:///var/run/influxdb.sock”]

urls = [“udp://127.0.0.1:8089”]

urls = [“http://127.0.0.1:8086”] #required

The target database for metrics; will be created as needed.

For UDP url endpoint database needs to be configured on server side.

database = “telegraf” #required

Many thanks!