Scripting Question

What is the best way to have KACE report CIFs on PST files?

10/13/2015 1959 views
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   [ + ] Show comments


All Answers

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

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ