I am trying to put together a script that uses some SysInternal tools to gather information about the target PC, saves it to a series of logs, and then uploads those logs to the server, so they are viewable from the inventory record. I'm pasting the XML to the space below. If someone could take a gander at it and let me know what I might be able to do to fix it, I'd apprecaite it. Right now, it is only uploading the first log file (apparently), even though I am certain it is running each of the programs.

<?xml version="1.0" encoding="utf-8" ?>
<kbots xmlns="http://kace.com/Kbots.xsd">

<config name="Sysinternals Data Collection" type="policy" id="54" version="1291990590" description="Runs Page Defrag followed by PSIfo, PSList and PSFile against the target machine, uploading the results to the KBOX server under "Uploaded Files"">

<dependency name="/orgs/6/kbots/54/PsInfo.exe" checksum="53e433146f2060b01e80128652d63c36" />
<dependency name="/orgs/6/kbots/54/PsList.exe" checksum="818632ea23ea95d641c48eb05eb58958" />
<dependency name="/orgs/6/kbots/54/pagedfrg.exe" checksum="24898ba51cbaad01a046541cc0a8d26f" />
<dependency name="/orgs/6/kbots/54/psfile.exe" checksum="cb623488009f084ec53cb62e45cbcf72" />

<execute disconnected="false" logged_off="false">



<verify on_failure="break" attempts="1">

<launch_program path="$(KACE_DEPENDENCY_DIR)" program="PsInfo.exe" wait="true" parms="-d > C:\%computername%info.log" />
<launch_program path="$(KACE_DEPENDENCY_DIR)" program="PsList.exe" wait="true" parms="-m > C:\%computername%list.log" />
<launch_program path="$(KACE_DEPENDENCY_DIR)" program="psfile.exe" wait="true" parms="> C:\%computername%file.log" />
<launch_program path="$(KACE_DEPENDENCY_DIR)" program="pagedfrg.exe" wait="true" parms="-o" />

<upload_file path="C:" file="%computername%info.log" />
<upload_file path="C:" file="%computername%list.log" />
<upload_file path="C:" file="%computername%list.log" />
<upload_file path="C:" file="%computername%file.log" />







0 Comments   [ + ] Show Comments


Please log in to comment

There are no answers at this time
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Answer this question or Comment on this question for clarity