GetNetTcpProcess
1.0.1
Shows which process owns each TCP port on Windows, like netstat -ano but returning PowerShell objects. Get-NetTcpProcess combines Get-NetTCPConnection with Win32_Process and returns one object per connection with the local and remote address and port, the TCP state, and the owning process name, ID and path. Optional switches add the parent process and the command line
Shows which process owns each TCP port on Windows, like netstat -ano but returning PowerShell objects. Get-NetTcpProcess combines Get-NetTCPConnection with Win32_Process and returns one object per connection with the local and remote address and port, the TCP state, and the owning process name, ID and path. Optional switches add the parent process and the command line. Filter by one or more TCP states with -State. Works in Windows PowerShell 5.1 and PowerShell 7+ on Windows.
Show more
Minimum PowerShell version
5.1
Installation Options
Owners
Copyright
(c) 2023 Joe Brown. Licensed under the GNU General Public License v3.0.
Package Details
Author(s)
- Joe Brown
Tags
Windows Network TCP Port Process Netstat
Functions
PSEditions
Dependencies
This module has no dependencies.
Release Notes
1.0.1: Documentation only; no change in behavior. Adds a full README, a command reference (docs/Get-NetTcpProcess.md) and a changelog; completes the comment-based help (all parameters, output properties, eight examples, notes) so Get-Help Get-NetTcpProcess -Full and -Online are useful. See https://github.com/joeb1kenobe/GetNetTcpProcess/blob/main/CHANGELOG.md
FileList
- GetNetTcpProcess.nuspec
- GetNetTcpProcess.psd1
- GetNetTcpProcess.psm1
Version History
| Version | Downloads | Last updated |
|---|---|---|
| 1.0.1 (current version) | 10 | 11/10/2026 |
| 1.0.0 | 7 | 11/10/2026 |