1. Windows Installer PowerShell 모듈 소개
Windows Installer PowerShell 모듈은 Microsoft의 오픈소스 프로젝트 웹사이트 CodePlex에 저장되어 있는 오픈소스 프로젝트입니다. 다음은 해당 홈페이지에 있는 프로젝트 설명입니다.
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.
2. Windows Installer PowerShell 모듈의 주요 기능:
1. 시스템에 설치된 제품 및 패치를 조회합니다.
2. 🎜>3. 제품 및 패치 설치, 복구 및 제거
4. 제품 및 패치 확인