Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_ClassicCOMClassSetting QueryContent of WMI Win32_ClassicCOMClassSetting Query.jsMD5 Hash: 61795F439BFBD35885BAF0E65D5C7586 |
||
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"); var colItems = objWMIService.ExecQuery("SELECT * FROM Win32_ClassicCOMClassSetting", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); var enumItems = new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { var objItem = enumItems.item(); WScript.Echo("AppID: " + objItem.AppID); WScript.Echo("AutoConvertToClsid: " + objItem.AutoConvertToClsid); WScript.Echo("AutoTreatAsClsid: " + objItem.AutoTreatAsClsid); WScript.Echo("Caption: " + objItem.Caption); WScript.Echo("ComponentId: " + objItem.ComponentId); WScript.Echo("Control: " + objItem.Control); WScript.Echo("DefaultIcon: " + objItem.DefaultIcon); WScript.Echo("Description: " + objItem.Description); WScript.Echo("InprocHandler: " + objItem.InprocHandler); WScript.Echo("InprocHandler32: " + objItem.InprocHandler32); WScript.Echo("InprocServer: " + objItem.InprocServer); WScript.Echo("InprocServer32: " + objItem.InprocServer32); WScript.Echo("Insertable: " + objItem.Insertable); WScript.Echo("JavaClass: " + objItem.JavaClass); WScript.Echo("LocalServer: " + objItem.LocalServer); WScript.Echo("LocalServer32: " + objItem.LocalServer32); WScript.Echo("LongDisplayName: " + objItem.LongDisplayName); WScript.Echo("ProgId: " + objItem.ProgId); WScript.Echo("SettingID: " + objItem.SettingID); WScript.Echo("ShortDisplayName: " + objItem.ShortDisplayName); WScript.Echo("ThreadingModel: " + objItem.ThreadingModel); WScript.Echo("ToolBoxBitmap32: " + objItem.ToolBoxBitmap32); WScript.Echo("TreatAsClsid: " + objItem.TreatAsClsid); WScript.Echo("TypeLibraryId: " + objItem.TypeLibraryId); WScript.Echo("Version: " + objItem.Version); WScript.Echo("VersionIndependentProgId: " + objItem.VersionIndependentProgId); } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |