Powershell or similar...

Associate
Joined
10 May 2012
Posts
414
I am trying to search a list of folders containing XML files amongst other things. I am only concerned in searching a specific version number contained in these folders. Rather than using the Windows in built search which is throwing up false positives, can anyone think of a powershell command or search that can assist purely searching for said version number.

Thanks - any advice would be appreciated
 
Get-ChildItem -Path C:\meh -recurse -Include "*.xml"

it's almost always better to filter before the pipe so that you're not passing EVERYTHING to the next step.
 
Back
Top Bottom