手机
当前位置:查字典教程网 >编程开发 >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】相关文章:

详谈javascript中的cookie

音乐播放用的的几个函数

Web开发必知Javascript技巧大全

通过JavaScript脚本复制网页上的一个表格

简介JavaScript中toUpperCase()方法的使用

光标的帖子总结(Range的使用)

JavaScript数据结构与算法之栈与队列

JavaScript事件委托实例分析

jQuery聚合函数实例

Java环境变量怎么配置?Java环境变量设置教程

精品推荐
分类导航