Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI MicrosoftIE_ConnectionSettings QueryContent of WMI MicrosoftIE_ConnectionSettings Query.jsMD5 Hash: 7081037E87A2E6CA0E78039A0BA46286 |
||
var wbemFlagReturnImmediately = 0x10;
var wbemFlagForwardOnly = 0x20; var arrComputers = new Array("."); for (i = 0; i < arrComputers.length; i++) { WScript.Echo(); WScript.Echo("=========================================="); WScript.Echo("Computer: " + arrComputers[i]); WScript.Echo("=========================================="); var objWMIService = GetObject("winmgmts:\\\\" + arrComputers[i] + "\\root\\CIMV2\\Applications\\MicrosoftIE"); var colItems = objWMIService.ExecQuery("SELECT * FROM MicrosoftIE_ConnectionSettings", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); var enumItems = new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { var objItem = enumItems.item(); WScript.Echo("AllowInternetPrograms: " + objItem.AllowInternetPrograms); WScript.Echo("AutoConfigURL: " + objItem.AutoConfigURL); WScript.Echo("AutoDisconnect: " + objItem.AutoDisconnect); WScript.Echo("AutoProxyDetectMode: " + objItem.AutoProxyDetectMode); WScript.Echo("Caption: " + objItem.Caption); WScript.Echo("DataEncryption: " + objItem.DataEncryption); WScript.Echo("Default: " + objItem.Default); WScript.Echo("DefaultGateway: " + objItem.DefaultGateway); WScript.Echo("Description: " + objItem.Description); WScript.Echo("DialUpServer: " + objItem.DialUpServer); WScript.Echo("DisconnectIdleTime: " + objItem.DisconnectIdleTime); WScript.Echo("EncryptedPassword: " + objItem.EncryptedPassword); WScript.Echo("IPAddress: " + objItem.IPAddress); WScript.Echo("IPHeaderCompression: " + objItem.IPHeaderCompression); WScript.Echo("Modem: " + objItem.Modem); WScript.Echo("Name: " + objItem.Name); WScript.Echo("NetworkLogon: " + objItem.NetworkLogon); WScript.Echo("NetworkProtocols: " + objItem.NetworkProtocols); WScript.Echo("PrimaryDNS: " + objItem.PrimaryDNS); WScript.Echo("PrimaryWINS: " + objItem.PrimaryWINS); WScript.Echo("Proxy: " + objItem.Proxy); WScript.Echo("ProxyOverride: " + objItem.ProxyOverride); WScript.Echo("ProxyServer: " + objItem.ProxyServer); WScript.Echo("RedialAttempts: " + objItem.RedialAttempts); WScript.Echo("RedialWait: " + objItem.RedialWait); WScript.Echo("ScriptFileName: " + objItem.ScriptFileName); WScript.Echo("SecondaryDNS: " + objItem.SecondaryDNS); WScript.Echo("SecondaryWINS: " + objItem.SecondaryWINS); WScript.Echo("ServerAssignedIPAddress: " + objItem.ServerAssignedIPAddress); WScript.Echo("ServerAssignedNameServer: " + objItem.ServerAssignedNameServer); WScript.Echo("SettingID: " + objItem.SettingID); WScript.Echo("SoftwareCompression: " + objItem.SoftwareCompression); } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |