List Information About the Binary Files Used by an Application
更新時(shí)間:2007年06月18日 00:00:00 作者:
Returns the name and product code of binary information
(such as bitmaps, icons, executable files, and so on) used
by a Windows Installer application. This script requires both
Windows PowerShell and the corresponding version of
the .NET Framework. For more information on downloading
these items see the Windows PowerShell download page (right).
$strComputer = "."
$colItems = get-wmiobject -class "Win32_Binary" -namespace "root\CIMV2" `
-computername $strComputer
foreach ($objItem in $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
}
(such as bitmaps, icons, executable files, and so on) used
by a Windows Installer application. This script requires both
Windows PowerShell and the corresponding version of
the .NET Framework. For more information on downloading
these items see the Windows PowerShell download page (right).
復(fù)制代碼 代碼如下:
$strComputer = "."
$colItems = get-wmiobject -class "Win32_Binary" -namespace "root\CIMV2" `
-computername $strComputer
foreach ($objItem in $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
}
相關(guān)文章
JS+CSS制作DIV層可(最小化/拖拽/排序)功能實(shí)現(xiàn)代碼
DIV層最小化和隨意拖拽排序,很多的愛好者都想實(shí)現(xiàn)這個(gè)功能,小編整理搜集了一下,希望本文的知識(shí)點(diǎn)可以幫助到你2013-02-02
微信小程序如何實(shí)現(xiàn)精確的日期時(shí)間選擇器
這篇文章主要介紹了微信小程序如何實(shí)現(xiàn)精確的日期時(shí)間選擇器,文中通過示例代碼介紹的非常詳細(xì),對(duì)大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價(jià)值,需要的朋友可以參考下2020-01-01
javascript生成不重復(fù)的隨機(jī)數(shù)
這篇文章主要介紹了javascript在指定范圍內(nèi)生成不重復(fù)的隨機(jī)數(shù)的方法和相關(guān)實(shí)例,有需要的小伙伴可以參考下。2015-07-07
JavaScript實(shí)現(xiàn)的簡(jiǎn)單煙花特效代碼
這篇文章主要介紹了JavaScript實(shí)現(xiàn)的簡(jiǎn)單煙花特效代碼,涉及JavaScript數(shù)學(xué)運(yùn)算及頁面元素基于定時(shí)函數(shù)運(yùn)動(dòng)的相關(guān)技巧,具有一定參考借鑒價(jià)值,需要的朋友可以參考下2015-10-10
javascript獲取四位數(shù)字或者字母的隨機(jī)數(shù)
這篇文章主要介紹了javascript獲取四位數(shù)字或者字母的隨機(jī)數(shù),需要的朋友可以參考下2015-01-01
javascript實(shí)現(xiàn)瀑布流加載圖片原理
這篇文章主要為大家介紹了javascript實(shí)現(xiàn)瀑布流加載圖片效果,具有一定的參考價(jià)值,感興趣的小伙伴們可以參考一下2016-02-02

