Solved

NETSTAT Command Multiple Strings

Posted on 2013-02-06
2
764 Views
Last Modified: 2013-02-07
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?
0
Comment
Question by:itsmevic
2 Comments
 
LVL 83

Accepted Solution

by:
oBdA earned 500 total points
ID: 38861983
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
 

Author Closing Comment

by:itsmevic
ID: 38865290
Awesome.  Thanks!
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Enterprise Password Manager Suites as well as Local Password managers are covered in this article.
Data breaches are on the rise, and companies are preparing by boosting their cybersecurity budgets. According to the Cybersecurity Market Report (http://www.cybersecurityventures.com/cybersecurity-market-report), worldwide spending on cybersecurity …
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question