网站首页 碎碎念 碎碎念回复
https://docs.microsoft.com/en-us/powershell/module/nettcpip/get-nettcpconnection?view=windowsserver2022-ps&viewFallbackFrom=win10-ps
# powershell 查看端口占用 Get-NetTCPConnection | where LocalPort -eq $port | select LocalPort,OwningProcess