sc create windows_exporter binPath= "C:\Program Files\windows_exporter\windows_exporter.exe" type= own start= auto DisplayName= "windows_exporter"
sc config windows_exporter binPath= "\"C:\Program Files\windows_exporter\windows_exporter.exe\" --config.file=\"C:\Program Files\windows_exporter\config.yml\" "
collectors:
enabled: "[defaults],process,cpu_info,memory,remote_fx,tcp,process"
collector:
service:
services-where: "Name='windows_exporter'"
log:
level: warn
windows_process_working_set_private_bytes