Solved

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

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
Auditing domain password hashes is a commonly overlooked but critical requirement to ensuring secure passwords practices are followed. Methods exist to extract hashes directly for a live domain however this article describes a process to extract u…
This tutorial will give a short introduction and overview of Backup Exec 2012 and how to navigate and perform basic functions. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as conne…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
Suggested Courses

615 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