![]() Loading |
VBScript |
JavaScript |
Powershell |
Search Options: List Internet Explorer Security Zone Settings
|
||
' Description: Retrieves the current setting level for each Internet Explorer security zone.
strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & _ "\root\cimv2\Applications\MicrosoftIE") Set colIESettings = objWMIService.ExecQuery _ ("Select * from MicrosoftIE_Security") For Each strIESetting in colIESettings Wscript.Echo "Zone name: " & strIESetting.Zone Wscript.Echo "Security level: " & strIESetting.Level Next | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |