I am assisting with a project and we thought we could use the k1000 Inventory and a Custom Inventory Rule to find PST files saved on local workstations so we can assist users and help them import to the online archive.  I used the following syntax -

ShellCommandTextReturn(cmd /c powershell Get-ChildItem c:\ -Recurse | where {$_.extension -eq ".PST"})

The issue is I am finding it returned nearly every workstation, for some reason it is also picking up files like pstorsvc.dll

Is there a better way to search these files out?


1 Comment   [ + ] Show Comment


  • I also need to log them so we know which have the existence of these files.
Please log in to comment


What about:
dir \*.pst /S /B
Answered 09/27/2016 by: Emperor
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja