I must admit that I find the windows PowerShell a really-way-too-late pale substitution for the full capacity of the unix shell , but since I sometimes need to work on windows , there ain’t much I can do about it.
So , grep :
the equivalent of”grep” in PS is”Select-String” .
The most basic usage is :
Almost all other grep functionality is supported ,and you can find more about it here