https://github.com/jdgregson/netmon
A PowerShell script which makes Windows' netstat command more useful.
https://github.com/jdgregson/netmon
Last synced: 12 months ago
JSON representation
A PowerShell script which makes Windows' netstat command more useful.
- Host: GitHub
- URL: https://github.com/jdgregson/netmon
- Owner: jdgregson
- Created: 2019-10-29T16:32:39.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-29T16:41:47.000Z (over 6 years ago)
- Last Synced: 2025-04-06T06:41:24.371Z (about 1 year ago)
- Language: PowerShell
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# netmon
A PowerShell script which makes Windows' netstat command more useful.
Usage: netmon [args and flags]
-ShowFullIPv6 Do not truncate IPv6 addresses.
-NoLocalhost Do not show connections to or from localhost.
-AggressiveDNS Resolve hostnames more thoroughly (but slowly).
-i, -Incoming Only show incoming connections.
-l, -Listening Display a list of listening ports with associated process
names. Only displays ports bound on external interfaces by
default. Cannot be combined with any options besides -m.
-m When combined with -l, this option will provide more
details, such as PIDs, ports bound on local interfaces,
and multiple processes listening on the same port.
-h, -help Show this help message.
-s, -sort Sort by field, according to the list of fields below.
-f, -fields Specify which fields to output, e.g.:
'netmon -f ldfP'. Available fields are:
l: Local endpoint
d: Direction of connection
f: Foreign endpoint
t: Protocol type
s: Connection state
h: DNS Hostname
i: Process ID
p: Process name
e: Executable path
c: Company
*: Display all fields