Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Enable Dead Gateway Detection for All Network AdaptersContent of Enable Dead Gateway Detection for All Network Adapters.vbsMD5 Hash: 20ACDA9678896F064DF478EBBE5CBEB8 |
||
' Description: Configures all network adapters on a computer to automatically detect dead gateways.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration") objNetworkSettings.SetDeadGWDetect(True) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |