Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify the MTU for all Network AdaptersContent of Modify the MTU for all Network Adapters.vbsMD5 Hash: 0685D2B48B06762DCB1F9D11028A6737 |
||
' Description: Configures the maximum transmission unit for all network adapters installed in a computer. Valid values range from a minimum of 68 bytes to the maximum number of bytes supported by the network.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration") objNetworkSettings.SetMTU(68) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |