How can I modify the configuration for a windows_exporter on windows machine ? (Prometheus concepts)

I’ trying to monitor the windows server with Prometheus by installing the windows_exporter on the windows server.

How can we modify the config.yml for the windows_exporter running inside an windows server?

I did not find any file of something inside the path C:\Program Files\windows_exporter

Please help

The github repository for the windows_exporter is a good source of information on this. It includes a sample configuration file set up for the exporter.

Thanks @rob_kodekloud
I got the solution.

msiexec /i “C:\Users\raviii\Downloads\windows_exporter-0.26.2-amd64.msi” ENABLED_COLLECTORS=“cpu,cs,iis,logical_disk,net,os,service,system,textfile” LISTEN_ADDR=0.0.0.0 LISTEN_PORT= METRICS_PATH=/<folder_name>