![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Enable Dead Gateway Detection for All Network Adapters
|
||
' 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 :: |