最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

用jscript實現(xiàn)列出安裝的軟件列表

 更新時間:2007年06月18日 00:00:00   作者:  
Returns a list of software that was installed on a computer 
using Windows Installer. This information is then
 written to a text file. 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_Product" -namespace "root\CIMV2" `
-computername $strComputer

foreach ($objItem in $colItems) {
      write-host "Caption: " $objItem.Caption
      write-host "Description: " $objItem.Description
      write-host "Identifying Number: " $objItem.IdentifyingNumber
      write-host "Installation Date: " $objItem.InstallDate
      write-host "Installation Date 2: " $objItem.InstallDate2
      write-host "Installation Location: " $objItem.InstallLocation
      write-host "Installation State: " $objItem.InstallState
      write-host "Name: " $objItem.Name
      write-host "Package Cache: " $objItem.PackageCache
      write-host "SKU Number: " $objItem.SKUNumber
      write-host "Vendor: " $objItem.Vendor
      write-host "Version: " $objItem.Version
      write-host
}



相關(guān)文章

最新評論

新宁县| 湖南省| 阿拉善右旗| 通榆县| 原阳县| 巴楚县| 翼城县| 广丰县| 盐山县| 常熟市| 陈巴尔虎旗| 恩施市| 沛县| 宁海县| 永福县| 湘乡市| 咸阳市| 高清| 通许县| 庆阳市| 隆尧县| 临朐县| 姚安县| 灵宝市| 海口市| 潜江市| 迁安市| 西丰县| 英山县| 三亚市| 六安市| 兖州市| 清原| 新和县| 太白县| 麦盖提县| 武夷山市| 凤冈县| 郓城县| 娄烦县| 来宾市|