show all ports in use code example Example: see what ports are in use Click to copyGet-Process -Id (Get-NetTCPConnection -LocalPort portNumber).OwningProcess