PowerShell equivalent to grep -f
I’m looking for the PowerShell equivalent to grep –file=filename. If you don’t know grep, filename is a text file where each line has a regular expression pattern you want to match. Maybe I’m missing something obvious, but Select-String doesn’t seem to have this option. 9 Answers 9