This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Append SGNHWInfo Information

Hi all,

 

is there any option to pipe the SGNHWinfo output of several machines into ONE file? Does anyone have a VBS script for that as native SGNHWInfo.exe does not support any pipe command.

Thx & BR
Dan



This thread was automatically locked due to age.
Parents
  • FormerMember
    0 FormerMember

    Hi Dan,

    There is a command line interface you can use for the collection process:

    For example, you could do something like:

    SGNHWInfo -s -f %USERPROFILE%\Desktop\SGNHWInfo_%COMPUTERNAME%.xml

    If you put that in a script it'll save the file on the desktop with the machine name.

  • Hi Toby,

     

    thanks for your reply but unfortunately you did not answer my question. I want to append the output of multiple SGNHWInfo instances to one global file. The command you provided is the one from the manual which would generate a single file per machine.

     

    BR
    Dan

  • FormerMember
    0 FormerMember in reply to Daniel Schmitz

    Hi Dan,

    There isn't anything to pipe directly to a single file but I do believe this will do exactly what you want.

    Instead of saving the files to the local machines just save to a central location then run a merge process to compile all those files into one.

    If you don't have anyone in-house that can put a script like this together just have a chat with your account manager and we can write something for you.

  • Hi Toby,

    just to let you know I did some testing and I found out that the tool will automatically append information. Just specify the same Output file and the information is attached out of the box.

    BR
    Dan

Reply Children
No Data