Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2016-11-09
4
Medium Priority
?
50 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

WatchGuard Case Study: NCR

With business operations for thousands of customers largely depending on the internal systems they support, NCR can’t afford to waste time or money on security products that are anything less than exceptional. That’s why they chose WatchGuard.

Question has a verified solution.

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

Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
A walk-through example of how to obtain and apply new DID phone numbers to your cloud PBX enabled users that are configured in Office 365. Whether you have 1, 10 or 100+ users in your tenant, it's quite easy to get them phone-enabled and making/rece…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
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…

971 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