NETSTAT Command Multiple Strings

It is possible to search on multiple strings within a Netstat -aont 2 | findstr " "

i.e.

Netstat -aont 2 | findstr "xxx.xx.xxx.xxx","xxx.xxx.xx.xxx""etc","etc","etc"

Or can you only do it by one IP at a time?
itsmevicAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
oBdAConnect With a Mentor Commented:
Yes; just use several "/c":
Netstat -aont 2 | findstr /c:"xxx.xx.xxx.xxx" /c:"yyy.yyy.yyy.yyy" /c:"zzz.zzz.zzz.zzz"
0
 
itsmevicAuthor Commented:
Awesome.  Thanks!
0
All Courses

From novice to tech pro — start learning today.