/build/static/layout/Breadcrumb_cap_w.png

Trying to find PST files stored on local drives

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?

Thanks


1 Comment   [ + ] Show comment
  • I also need to log them so we know which have the existence of these files. - g1knj99 8 years ago

Answers (1)

Posted by: Emperor 8 years ago
White Belt
1
What about:
dir \*.pst /S /B
 
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