Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Detecting if port is refusing/dropping new connections on Windows Server via Powershell.

Posted on 2016-11-09
4
Medium Priority
?
47 Views
1 Endorsement
Last Modified: 2016-11-15
Heyas,

Is there a way to detect via PowerShell a port is refusing new connections or dropping connection requests on a server?

Thank you.
1
Comment
Question by:Zack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 37

Expert Comment

by:bbao
ID: 41881816
I think you can PowerShell to check if a port is open at listening status or in closed status with no application running behind it. but i don't think you can use PS to dynamically detect or monitor if the port is refusing or dropping a specific request or packet at a moment as it beyond the capability of a scripting language.
1
 

Accepted Solution

by:
Zack earned 0 total points
ID: 41882154
Hi Bing,

I have my answer: https://github.com/secabstraction/PowerCat

Thank you for your input.
0
 

Author Closing Comment

by:Zack
ID: 41887626
It's the solution that fits after 2 hrs on Google.
0
 
LVL 37

Expert Comment

by:bbao
ID: 41888155
good to know you have found the solution and thanks for sharing it.
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

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

Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

730 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