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   [ - ] Hide Comment


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

Community Chosen Answer


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


You don't need to go for any paid tool or manual techniques when I have a free tool to do the same work in a matter of seconds.
yes it is a free tool and you don't have to pay anything for the same. Its not a demo version ...its a free full version tool.
I have used it and it worked well.
Who will not want a free tool whcih simplifies your work and make it more easy.
It is a tool from SysInfoTools.

Just check it out.

Answered 02/21/2017 by: virat8586
Green Belt

Please log in to comment
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja