查看系统正在与谁通信

  运行效果:

  

  实现代码:

Get-NetTCPConnection -State Established|
select  LocalAddress,LocalPort,RemoteAddress,RemotePort,@{ `
name="ProcessName";e={(ps -Id $_.OwningProcess).Name}},CreationTime|Format-Table
原文地址:https://www.cnblogs.com/feiyucha/p/10573690.html