最新国产好看的视频,伊人天堂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)文章

最新評論

罗源县| 吴堡县| 普格县| 邢台县| 普陀区| 西青区| 乌恰县| 广宁县| 澄江县| 雅安市| 宜兴市| 碌曲县| 紫金县| 乌审旗| 普定县| 沛县| 天祝| 弋阳县| 抚州市| 堆龙德庆县| 图木舒克市| 忻州市| 修武县| 广河县| 益阳市| 昌江| 岳西县| 同德县| 上高县| 扶绥县| 南宫市| 繁峙县| 闵行区| 建瓯市| 雅安市| 从江县| 临夏市| 奇台县| 宁河县| 麦盖提县| 隆尧县|