Skip to content

Instantly share code, notes, and snippets.

@johnpili
Created June 28, 2024 09:03
Show Gist options
  • Save johnpili/ba3a93cf9fe976991b890539214f5fb0 to your computer and use it in GitHub Desktop.
Save johnpili/ba3a93cf9fe976991b890539214f5fb0 to your computer and use it in GitHub Desktop.
Powershell find process using port
Get-Process -Id (Get-NetTCPConnection -LocalPort 8080).OwningProcess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment