Poor Man’s Grep (Windows)

You can filter out text strings in Windows command prompt by piping the output to the ‘FINDSTR’ command. See below for an example:

netstat -an | findstr 192.168.1.15
TCP    192.168.1.10:1088       192.168.1.100:8080       ESTABLISHED

2 Responses to “Poor Man’s Grep (Windows)”


  1. 1 T

    That is the coolest thing I have ever seen. What about other unix/linux piping commands?

  2. 2 Daniel

    There may be more, but i’m blissfully unaware of them.

    That said, Windows Powershell has all sorts of fancy functionality.

Leave a Reply