Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Read all folders seeking a file

$
0
0

How would I search any/all drivers on a server seeking a certain file?   I need to find all *.pst files and find the owner.  I know I can use the Get-Acl $MyFile | Format-List to find the owner but how do I search all drives/folders and sub-folders?  I need to search for this file and then in a .csv file write the path, owner

I'd work on this for days but I was told I need this today by a senior director and I'm still too weak in PS to know how to do this off the top of my head.  So any pointers would be good.  And I'll Google away looking for answers as well so I may update my own post with more questions as I discover more.

Thank you.  


Viewing all articles
Browse latest Browse all 6937

Trending Articles