Welcome to Powergui.org - an open source community for Windows Powershell

PowerGUI.org PowerGUI.org and blogs
[714] Installed Programs Snapin using Windows Installer API    « Back to Category
Author: Steve Crouse, Created on: Mar 28, 2007 9:14 AM
Categories: Windows Server, PowerGUI Library
Rating:


This snapin makes use of a custom Cmdlet that calls the Windows Installer API to retrieve information about installed products. Also included are a couple actions that allow for uninstall or repair of a product.

This method will typically return more results then those displayed in "Control Panel->Add/Remove Programs"

Installing the Cmdlet should just require running:

> InstallUtil InstallerCmdlets.dll

To add the Cmdlet to a running instance of PowerShell:

> Add-PSSnapin InstallerSnapin

Document Rating
Rating:

Downloads
Click to download this attachment InstalledProducts.powerpack (312 bytes)
Downloaded 2193 Times
Click to download this attachment installedproducts.action (759 bytes)
Downloaded 1914 Times
Click to download this attachment installercmdlets.dll (20.0 K)
Downloaded 1742 Times
Related Documents
No Related Documents