I run a registered version of siw and have been trying to use it to extract sensor data, appending to a file.
The command that I have currently is;
siw.exe /log:csv[="c:\logfile.csv"] /append /h:
However - I am unsure what number to put after the "/h:" to extract the temperature information.
Does anyone know how to use the /h: command in this way?
Excellent, thank you very much for this!
I have a problem with the CLI as well.
If I run the command below locally I get the answer I expect which is a list of licences for the machine and nothing else. When I run it as part of a script on a remote machine I seem to get everythything.
The first line sets up the current directory which contains the required files and is the location for the output file. The second line should run SIW so the output is limited to a list of licences on the target machine.
pushd \\<server name>\InstallationFiles\AssetTracking
SIW.exe /s:1073741824 /silent /log:csv=Licences.csv
The number 1073741824 is the one listed on the SIW Command Line Arguments document.
The script is run on the target PC and all the files are in the server share.
The entries are for the correct machine; there are just too many of them!!
Any help would be appreciated.
Worked a treat, many thanks, and thanks for responding so promptly.
Just one thing, why did I not need /h:0 and /n:0 when I ran it locally? What happens that is different?
This tool has done very quickly what I have taken days to do in the past but the best bit is that it can be run on a regular basis and so keep the information up to date.