Created
March 19, 2024 15:15
-
-
Save chadmando/8da8982e9f64b55bfea7758de71eb8cb to your computer and use it in GitHub Desktop.
ns command for UDP connections in powershell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Full credit for this goes to a SANS ICS diary by Rob Vandenbrink | |
# https://isc.sans.edu/diary/30532?n | |
Get-NetUDPEndpoint | | |
Select-Object LocalAddress,LocalPort,CreationTime,OwningProcess,@{Name="Process";Expression={(Get-Process -Id $_.OwningProcess).ProcessName}} | | |
Format-Table -auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment