<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[gOxiA=苏繁=SuFan Blog]]></title> 
<link>https://sufan.maytide.net/index.php</link> 
<description><![CDATA[gOxiA,苏繁,sufan,Microsoft MVP]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[gOxiA=苏繁=SuFan Blog]]></copyright>
<item>
<link>https://sufan.maytide.net/read.php/837.htm</link>
<title><![CDATA[通过脚本察看当前TCP的连接数目]]></title> 
<author>gOxiA &lt;sufan_cn@msn.com&gt;</author>
<category><![CDATA[PowerShell 和脚本]]></category>
<pubDate>Thu, 27 Jul 2006 08:57:51 +0000</pubDate> 
<guid>https://sufan.maytide.net/read.php/837.htm</guid> 
<description>
<![CDATA[ 
	<p>在网上找了个脚本可以查询到当前TCP的连接数目，非常有用哦！</p><p><div class="code">strComputer = &quot;.&quot;<br />Set objWMIService = GetObject(&quot;winmgmts:\\&quot; &amp; strComputer &amp; &quot;\root\cimv2&quot;)<br />Set objNetworkSettings = objWMIService.Get(&quot;Win32_NetworkAdapterConfiguration&quot;)<br />Wscript.Echo &quot;TCP连接数: &quot; &amp; objNetworkSettings.SetTCPNumConnections</div></p>
]]>
</description>
</item>
</channel>
</rss>