主頁(yè) > 知識(shí)庫(kù) > 類似rpm包管理器的Windows Installer PowerShell Module簡(jiǎn)介

類似rpm包管理器的Windows Installer PowerShell Module簡(jiǎn)介

熱門標(biāo)簽:如何申請(qǐng)400的電話呀 黑暗之魂3地圖標(biāo)注 地圖標(biāo)注審核周期 AI智能電銷機(jī)器人壞處 合肥電銷外呼系統(tǒng)供應(yīng)商 沈陽(yáng)ai電銷智能機(jī)器人 電話機(jī)器人對(duì)家居行業(yè)幫助大嗎 電商外呼系統(tǒng)排名 蘭州電銷機(jī)器人加盟

一、Windows Installer PowerShell Module簡(jiǎn)介

Windows Installer PowerShell Module是一個(gè)開源項(xiàng)目,存放在微軟的開源項(xiàng)目網(wǎng)站CodePlex上,下面是其主頁(yè)上項(xiàng)目描述。

復(fù)制代碼 代碼如下:

Project Description

Exposes Windows Installer functionality to PowerShell, providing means to query installed product and patch information and to query views on packages.

PowerShell is a powerful command shell that pipes objects - not just text. Because of this ability, you can string practically unrelated commands together in many different ways to work on different types of objects, all built on .NET. You can use all the properties and methods of those objects passed through the pipeline instead of being limited by the text sent to you as with traditional command shells.

This Windows Installer module for PowerShell provides cmdlets ("command-lets") - similar to functions - to query package states, patches registered and applied to products, and more. You can use it to query Windows Installer products and patches installed on your system.

get-msiproductinfo | where { $_.Name -like '*Visual Studio*' }
You can even use it to determine which products installed a particular file on your system.

get-msicomponentinfo `
    | where { $_.Path -like 'C:\Program Files\*\Common7\IDE\devenv.exe'} `
    | get-msiproductinfo
And with new cmdlets in 2.2.0 you can also install, repair, and uninstall products and patches complete with progress information, and warnings and errors direct to the pipeline.

install-msiproduct .\example.msi -destination (join-path $env:ProgramFiles Example)
You can find more Examples and usage in the Documentation.


二、Windows Installer PowerShell Module主要功能:

1.查詢系統(tǒng)已經(jīng)安裝的產(chǎn)品和補(bǔ)丁
2.查詢?cè)窗惭b包信息
3.安裝,修復(fù)和卸載產(chǎn)品和補(bǔ)丁
4.驗(yàn)證產(chǎn)品和補(bǔ)丁

下載與詳細(xì)文檔,可以參考項(xiàng)目主頁(yè):http://psmsi.codeplex.com/

您可能感興趣的文章:
  • YUM解決RPM包安裝依賴關(guān)系及yum工具介紹本地源配置方法詳解
  • 強(qiáng)制刪除rpm包的方法
  • Linux 中 RPM包 安裝 查詢 卸載命令小結(jié)及yum命令詳解
  • 詳解Linux 操作系統(tǒng)下安裝rpm包的方法步驟
  • 解壓rpm包的linux命令及rpm命令使用簡(jiǎn)介
  • 制作nginx的RPM包教程
  • 制作PHP的RPM包詳解及實(shí)例

標(biāo)簽:河池 隴南 常州 通遼 黔南 河北 淮南 黔南

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《類似rpm包管理器的Windows Installer PowerShell Module簡(jiǎn)介》,本文關(guān)鍵詞  類似,rpm,包,管理器,的,Windows,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《類似rpm包管理器的Windows Installer PowerShell Module簡(jiǎn)介》相關(guān)的同類信息!
  • 本頁(yè)收集關(guān)于類似rpm包管理器的Windows Installer PowerShell Module簡(jiǎn)介的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章