Solved

NETSTAT Command Multiple Strings

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Article by: btan
Provide an easy one stop to quickly get the relevant information on common asked question on Ransomware in Expert Exchange.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
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…

762 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

21 Experts available now in Live!

Get 1:1 Help Now