Hi All:
I am new to PS. The line below almost does what I need... I want to recusively look in $Path and return every file that has the string "(1)" - open paren, digit one, close paren, in that sequence - in its name. With the command below, my results include files that have all three characters but not in sequence.
$wind =get-Childitem $Path -recurse | where{$_.name -match "(1)"}
Please let me know any suggestions.
TIA,
Sven
I am new to PS. The line below almost does what I need... I want to recusively look in $Path and return every file that has the string "(1)" - open paren, digit one, close paren, in that sequence - in its name. With the command below, my results include files that have all three characters but not in sequence.
$wind =get-Childitem $Path -recurse | where{$_.name -match "(1)"}
Please let me know any suggestions.
TIA,
Sven