Skip to content

Instantly share code, notes, and snippets.

@RobsonAutomator
Created October 30, 2017 20:20
Show Gist options
  • Save RobsonAutomator/6214dc34b46f20654c31b9060f73139e to your computer and use it in GitHub Desktop.
Save RobsonAutomator/6214dc34b46f20654c31b9060f73139e to your computer and use it in GitHub Desktop.
Displays all processes listening on port 443
# Gets all processes listening on TCP port 443
(Get-NetTCPConnection -LocalPort 443 -State Listen | Select-Object @{Name="Id";Expression={$_.OwningProcess}} | Get-Process).ProcessName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment