开发者

Check TCP offload is disabled for all the active NIC connections both at OS level & also in righclick properties for each NIC in devmgmt.msc

开发者 https://www.devze.com 2023-04-01 11:19 出处:网络
I wanted some help in making a script for toCheck that the TCP offload is disabled for all the active NIC connections both at OS level & also in righclick properties for each NIC 开发者_运维百科in

I wanted some help in making a script for toCheck that the TCP offload is disabled for all the active NIC connections both at OS level & also in righclick properties for each NIC 开发者_运维百科in devmgmt.msc, using powershell.

http://support.microsoft.com/kb/951037


Here's a script I created a while ago to check for TCP offload by looking the various registry keys:

param ($computer)
$reg = [Microsoft.Win32.RegistryKey]::OpenRemoteBaseKey(‘LocalMachine’,$computer)
$regKey = $reg.OpenSubKey(“SYSTEM\\CurrentControlSet\\Services\\Tcpip\\Parameters”)
new-object psobject | add-member -pass NoteProperty computer $computer |
add-member -pass NoteProperty EnableTCPA $regKey.GetValue(‘EnableTCPA’) |
add-member -pass NoteProperty EnableRSS $regKey.GetValue(‘EnableRSS’) |
add-member -pass NoteProperty EnableTCPChimney $regKey.GetValue(‘EnableTCPChimney’)

Here's a link to the blog post: http://sev17.com/2009/02/check-for-windows-server-2003-scalable-networking-pack/

0

精彩评论

暂无评论...
验证码 换一张
取 消