![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: Enable IPFilter Security on All Network Adapters
|
||
' Description: Enables IP filter security for all the network adapters installed in a computer.
On Error Resume Next strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set objNetworkSettings = objWMIService.Get("Win32_NetworkAdapterConfiguration") objNetworkSettings.EnableIPFilterSec(True) | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |