List Information About the Binary Files Used by an Application

三亚小旋风

三亚小旋风

2016-02-19 09:26

下面这个List Information About the Binary Files Used by an Application教程由图老师小编精心推荐选出,过程简单易学超容易上手,喜欢就要赶紧get起来哦!
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 "rootCIMV2" `
-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
}


展开更多 50%)
分享

猜你喜欢

List Information About the Binary Files Used by an Application

Web开发
List Information About the Binary Files Used by an Application

List the Codec Files on a Computer

Web开发
List the Codec Files on a Computer

s8lol主宰符文怎么配

英雄联盟 网络游戏
s8lol主宰符文怎么配

List Box/Check List Box

编程语言 网络编程
List Box/Check List Box

Newwebpick 08 About Reooo !

平面设计 标志设计 UI设计 VI设计
Newwebpick 08 About Reooo !

lol偷钱流符文搭配推荐

英雄联盟 网络游戏
lol偷钱流符文搭配推荐

List Ctrl

编程语言 网络编程
List Ctrl

InstallShield Installation Information是什么

电脑入门
InstallShield Installation Information是什么

lolAD刺客新符文搭配推荐

英雄联盟
lolAD刺客新符文搭配推荐

Open and Print a Word Document

Open and Print a Word Document

Oracle 的入门心得 强烈推荐

Oracle 的入门心得 强烈推荐
下拉加载更多内容 ↓