Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify PMTUBH Detection on All Network AdaptersContent of Modify PMTUBH Detection on All Network Adapters.vbsMD5 Hash: 532454596593C31D1BB2F778A9E708EC |
||
' Description: Enables the auto-discovery of black hole routers when determining the maximum transmission unit on a network. To disable auto-discovery of black hole routers, pass the value False to the SetPMTUBHDetect method.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration") objNetworkSettings.SetPMTUBHDetect(True) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |