1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Powershell or similar...

Discussion in 'Windows & Other Software' started by arjgrundy, May 14, 2019.

  1. arjgrundy

    Gangster

    Joined: May 10, 2012

    Posts: 254

    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
     
  2. Django x2

    Capodecina

    Joined: Sep 28, 2008

    Posts: 12,183

    Location: Britain

    get-childitem -recurse | where { $_.name -like "*1234" }

    or similar
     
  3. arjgrundy

    Gangster

    Joined: May 10, 2012

    Posts: 254

    Thanks I’ll give this a try. Thanks for the quick reply