Solved

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

Posted on 2016-11-09
4
36 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
  • 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

785 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