Solved

NETSTAT Command Multiple Strings

Posted on 2013-02-06
2
757 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

Can’t get the mobile email signature right?

Not having any luck when trying to create an email signature for mobile devices? Does the formatting keep messing up? Make sure you have great email signatures on all devices by using Exclaimer Cloud - Signatures for Office 365.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IP Address -- lookup location ? 4 70
DNS and NSLOOKUP 21 57
Problem to search 5 25
Network access 4 23
An overview of HIPAA and guidance on this topic that Experts Exchange members can offer.
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now