在网上找了个脚本可以查询到当前TCP的连接数目,非常有用哦!
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration")
Wscript.Echo "TCP连接数: " & objNetworkSettings.SetTCPNumConnections

0

收藏

苏繁

410篇文章,77W+人气,0粉丝