Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_PublisherSummary QueryContent of WMI Win32_PublisherSummary Query.jsMD5 Hash: E9EE747AE66A06F46A5D78D418AB5F70 |
||
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\\MSAPPS11"); var colItems = objWMIService.ExecQuery("SELECT * FROM Win32_PublisherSummary", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); var enumItems = new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { var objItem = enumItems.item(); WScript.Echo("ActivePrinter: " + objItem.ActivePrinter); WScript.Echo("DisplayName: " + objItem.DisplayName); WScript.Echo("DisplayVersion: " + objItem.DisplayVersion); WScript.Echo("HelpLink: " + objItem.HelpLink); WScript.Echo("InstallDate: " + objItem.InstallDate); WScript.Echo("InstallLocation: " + objItem.InstallLocation); WScript.Echo("InstallSource: " + objItem.InstallSource); WScript.Echo("Language: " + objItem.Language); WScript.Echo("LocalPackage: " + objItem.LocalPackage); WScript.Echo("ProductID: " + objItem.ProductID); WScript.Echo("RegCompany: " + objItem.RegCompany); WScript.Echo("RegOwner: " + objItem.RegOwner); WScript.Echo("SystemLanguage: " + objItem.SystemLanguage); WScript.Echo("URLInfoAbout: " + objItem.URLInfoAbout); WScript.Echo("URLUpdateInfo: " + objItem.URLUpdateInfo); } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |