手机
当前位置:查字典教程网 >编程开发 >Javascript教程 >List Information About the Binary Files Used by an Application
List Information About the Binary Files Used by an Application
摘要:Returnsthenameandproductcodeofbinaryinformation(suchasbitmaps,icons,ex...

Returnsthenameandproductcodeofbinaryinformation

(suchasbitmaps,icons,executablefiles,andsoon)used

byaWindowsInstallerapplication.Thisscriptrequiresboth

WindowsPowerShellandthecorrespondingversionof

the.NETFramework.Formoreinformationondownloading

theseitemsseetheWindowsPowerShelldownloadpage(right).

复制代码 代码如下:

$strComputer="."

$colItems=get-wmiobject-class"Win32_Binary"-namespace"rootCIMV2"`

-computername$strComputer

foreach($objItemin$colItems){

write-host"Caption:"$objItem.Caption

write-host"Data:"$objItem.Data

write-host"Description:"$objItem.Description

write-host"Name:"$objItem.Name

write-host"ProductCode:"$objItem.ProductCode

write-host"SettingID:"$objItem.SettingID

write-host

}

【List Information About the Binary Files Used by an Application】相关文章:

在b/s开发中经常用到的javaScript技术

jQuery聚合函数实例

JavaScript操作XML文件之XML读取方法

JavaScript中Number.MIN_VALUE属性的使用示例

JavaScript点击按钮后弹出透明浮动层的方法

JavaScript实现跑马灯抽奖活动实例代码解析与优化(二)

Eclipse编辑jsp、js文件时卡死现象的解决办法汇总

JavaScript事件委托实例分析

JavaScript通过事件代理高亮显示表格行的方法

List Information About the Binary Files Used by an Application

精品推荐
分类导航