InstalledMemory.zip contains Software-207.kpkg and Script-51.kpkg

Import these two files into your kbox by placing them on the KBOX samba share \\kboxip\clientdrop

Go to Settings > Resources > Import KBOX Resources and the two items should appear. Import them.

Then schedule the script to run about once a week and hit the run it now button.

Make sure the custom software inventory item is applied to all windows machines.

Check the client in manually after the script is finished and it should be there under Custom Inventory Fields.


0 Comments   [ - ] Hide Comments


Please log in to comment

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


This is what the Custom Field will appear like;

Answered 01/06/2011 by: awenzel@kace.com
Senior Purple Belt

Please log in to comment
Thanks for this. I was able to get this to work.

One question though... when I view the custom field from within the computer object in the KACE console, it displays as shown above.

But when I add this field to a report, it displays the <br/> entries within the field as text instead of executing a line break at those points. So output looks like this:

Memory installed in . (Dimension 8200)<br/>----------------------------------------------<br/>Slot 1 : 512MB RAMBUS DDR PC3200<br/>Slot 2 : 512MB RAMBUS DDR PC3200<br/>Slot 3 : 256MB RAMBUS DDR PC3200<br/>Slot 4 : 256MB RAMBUS DDR PC3200<br/>1.5GB Installed<br/>2GB Maximum<br/><br/>

How can I correct this?
Answered 03/24/2011 by: btw256
Yellow Belt

Please log in to comment
I noticed that this no longer works after upgrading to 5.3. Is there a way to resolve this?
Answered 01/23/2012 by: Capt.Morgan
Orange Belt

Please log in to comment
There is already a bug filed for this. The current workaround is to change your custom inventory rule from:

ShellCommandTextReturn(more C:\TEMP\installedmemory.txt)
[or where ever your output file is]
ShellCommandTextReturn(cmd /c more "C:\TEMP\installedmemory.txt") -- The quotes are needed if there is a space in the filename.

You will note the addition of the "cmd /c"........
Answered 01/24/2012 by: scottlutz
Orange Senior Belt

Please log in to comment
It is not reporting into custom invetory field. How to make it?

Please advice
Answered 02/21/2012 by: tomikuku
Senior Yellow Belt

Please log in to comment

Where can I download the files to import into Kace?

Answered 06/07/2012 by: agardner
White Belt

Please log in to comment