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


This content is currently hidden from public view.
Reason: Member has been banned from the site banned by admin
For more information, visit our FAQ's.

Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja