澳门新蒲京娱乐


mysql启动服务报1058错误的解决方法_Mysql_脚本之家【澳门新蒲京娱乐】

Information_javascript技巧_脚本之家

Software_javascript技巧_脚本之家

Description
ReturnsalistofsoftwarethatwasinstalledonacomputerusingWindowsInstaller.Thisinformationisthenwrittentoatextfile.
ScriptCode 复制代码
代码如下:varwbemFlagReturnImmediately=0x10; varwbemFlagForwardOnly=0x20;
varobjWMIService=GetObject(“winmgmts:\\\\.\\root\\CIMV2”);
varcolItems=objWMIService.ExecQuery(“SELECT*FROMWin32_Product”,”WQL”,
wbemFlagReturnImmediately|wbemFlagForwardOnly);
varenumItems=newEnumerator; for;enumItems.moveNext{
varobjItem=enumItems.item(); WScript.Echo(“Caption:”+objItem.Caption);
WScript.Echo(“Description:”+objItem.Description);
WScript.Echo(“IdentifyingNumber:”+objItem.IdentifyingNumber);
WScript.Echo(“InstallDate:”+objItem.InstallDate);
WScript.Echo(“InstallDate2:”+objItem.InstallDate2);
WScript.Echo(“InstallLocation:”+objItem.InstallLocation);
WScript.Echo(“InstallState:”+objItem.InstallState); WScript.Echo;
WScript.Echo(“PackageCache:”+objItem.PackageCache);
WScript.Echo(“SKUNumber:”+objItem.SKUNumber);
WScript.Echo(“Vendor:”+objItem.Vendor);
WScript.Echo(“Version:”+objItem.Version); WScript.Echo(); }

相关文章

No Comments, Be The First!
近期评论
    功能
    网站地图xml地图