equivalent of grep -w


Is there any equivalent of grep -w which will only search for exact string?

I am searching for Macro but it is returning one with "-Macro":

PS C:\temp> select-string -path emails -pattern \bmacro\b

emails:37:GR-Macro desktop@test.com
emails:39:Macro desktop@test.com

Is it possible to search exact string?

Thanks in advance

No Data
Reply Children
No Data