|
New-Service -Name "Windows Exporter" -BinaryPathName '"C:\Program Files (x86)\WindowsExporter\windows_exporter.exe" --web.listen-address ":9200" --collectors.enabled "ad,adcs,adfs,cache,cpu,cpu_info,cs,container,dfsr,dhcp,dns,exchange,fsrmquota,hyperv,iis,logical_disk,logon,memory,msmq,mssql,netframework_clrexceptions,netframework_clrinterop,netframework_clrjit,netframework_clrloading,netframework_clrlocksandthreads,netframework_clrmemory,netframework_clrremoting,netframework_clrsecurity,net,os,process,remote_fx,service,smtp,system,tcp,time,thermalzone,terminal_services,textfile,vmware"' |