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

Heyas,

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

Thank you.
ZackGeneral IT Goto GuyAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
ZackConnect With a Mentor General IT Goto GuyAuthor Commented:
Hi Bing,

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

Thank you for your input.
0
 
bbaoIT ConsultantCommented:
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
 
ZackGeneral IT Goto GuyAuthor Commented:
It's the solution that fits after 2 hrs on Google.
0
 
bbaoIT ConsultantCommented:
good to know you have found the solution and thanks for sharing it.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.