Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Modify Zero-Broadcast Use for All Network AdaptersContent of Modify Zero-Broadcast Use for All Network Adapters.vbsMD5 Hash: 94DC7D982C13871273FFFF1AF56BD2BA |
||
' Description: Configures a computer to use zero-broadcasts (0.0.0.0) rather than one-broadcasts (255.255.255.255). Zero-broadcasts are the default used on systems derived from BSD implementations.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration") objNetworkSettings.SetIPUseZeroBroadcast(True) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |