From f8a7c99092837a23bb930532694b34951c500e50 Mon Sep 17 00:00:00 2001 From: floptical <55413984+floptical@users.noreply.github.com> Date: Wed, 25 Sep 2019 15:48:36 -0400 Subject: [PATCH] Another msiexec install example msiexec install example for older windows versions --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 7cf67dbd..73a8d272 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,11 @@ Example service collector with a custom query. msiexec /i ENABLED_COLLECTORS=os,service --% EXTRA_FLAGS="--collector.service.services-where ""Name LIKE 'sql%'""" ``` +On some older versions of Windows you may need to surround parameter values with double quotes to get the install command parsing properly: +```powershell +msiexec /i C:\Users\Administrator\Downloads\wmi_exporter.msi ENABLED_COLLECTORS="ad,iis,logon,memory,process,tcp,thermalzone" TEXTFILE_DIR="C:\custom_metrics\" +``` + ## Roadmap See [open issues](https://github.com/martinlindhe/wmi_exporter/issues)