We are trying to create a script that would run on the local machine to find if there are PST files on a computer along with the size(s) of the file(s). Then afterwards have it create a log file that KACE will pick up and become a CIF for that computer's inventory. From there we would like to have a report that can compile all this information. We have a script that can create the log file, but the issue is getting the report to have the information of the computers that do have the PST files along with their sizes. If information will be helpful.

Thanks in advancement.
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


Create a CIR using a syntax like that: 
ShellCommandTextReturn(cmd /c powershell Get-ChildItem c:\ -Recurse | where {$_.extension -eq ".PST"})

This will create a list in the Inventory for each PC with a file which ends to PST and is located somewhere on the C-Drive.
Answered 10/14/2015 by: Nico_K
Red Belt

Please log in to comment