佳木斯湛栽影视文化发展公司

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

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

熱門(mén)標(biāo)簽:網(wǎng)站排名優(yōu)化 Linux服務(wù)器 地方門(mén)戶(hù)網(wǎng)站 鐵路電話(huà)系統(tǒng) AI電銷(xiāo) 呼叫中心市場(chǎng)需求 服務(wù)外包 百度競(jìng)價(jià)排名

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

Windows Installer PowerShell Module是一個(gè)開(kāi)源項(xiàng)目,存放在微軟的開(kāi)源項(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.查詢(xún)系統(tǒng)已經(jīng)安裝的產(chǎn)品和補(bǔ)丁
2.查詢(xún)?cè)窗惭b包信息
3.安裝,修復(fù)和卸載產(chǎn)品和補(bǔ)丁
4.驗(yàn)證產(chǎn)品和補(bǔ)丁

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

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

標(biāo)簽:衡水 蘭州 湖南 銅川 湘潭 崇左 仙桃 黃山

巨人網(wǎng)絡(luò)通訊聲明:本文標(biāo)題《類(lèi)似rpm包管理器的Windows Installer PowerShell Module簡(jiǎn)介》,本文關(guān)鍵詞  ;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問(wèn)題,煩請(qǐng)?zhí)峁┫嚓P(guān)信息告之我們,我們將及時(shí)溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無(wú)關(guān)。
  • 相關(guān)文章
  • 收縮
    • 微信客服
    • 微信二維碼
    • 電話(huà)咨詢(xún)

    • 400-1100-266
    佛坪县| 阿城市| 惠东县| 泽州县| 新晃| 河津市| 体育| 金堂县| 南康市| 邯郸市| 余干县| 洛隆县| 即墨市| 西安市| 巴彦淖尔市| 峨眉山市| 民和| 龙井市| 建阳市| 应城市| 屏南县| 长岛县| 杨浦区| 姜堰市| 偃师市| 建平县| 陇川县| 江油市| 九龙坡区| 贵港市| 揭西县| 行唐县| 拉孜县| 永春县| 双江| 荥阳市| 高要市| 永和县| 柳林县| 黄浦区| 溧水县|