我找不到任何发布的代码,这些代码可以在PowerShell中执行类似netstat的操作,然后按端口搜索已建立的TCP连接。 我写了下面的函数,它是有效的,并希望得到一些反馈。有没有更简单的方法?我的公司还在使用Windows7,所以我不能使用Get-NetTcpConnection。 <# Get-ESTConnectionByPort
Usage: Pass the port number to the function and it will return a boolian
value of true or false it will also echo an "Con