Get-MSIFeatureInfo

Synopsis

Gets information about features of an installed or advertised product.

Syntax

  • Get-MSIFeatureInfo [-Product] <ProductInstallation[]>
  • Get-MSIFeatureInfo [-ProductCode] <String> [-FeatureName] <String>

Detailed Description

A product must install or advertise one or more features. This cmdlet can query feature of a product or products to determine thei state and optional usage data.

Parameters

-Product <ProductInstallation[]>

The component GUIDs to retrieve information.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false

-ProductCode <String>

The ProductCode that installed or advertised specified features.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-FeatureName <String>

The names of the features for which information is retrieved.

Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

Input Type

  • Microsoft.Deployment.WindowsInstaller.ProductInstallation: The product or products for which features are enumerated.

Return Type

  • Microsoft.Deployment.WindowsInstaller.FeatureInstallation: Information about the features installed or advertised by one or multiple products.

Notes

Example 1

C:\PS> get-msiproductinfo "{90120000-00BA-0409-0000-0000000FF1CE}" | get-msifeatureinfo | format-table -view Usage

Gets the usage information for all the features installed by the product "{90120000-00BA-0409-0000-0000000FF1CE}".

Example 2

C:\PS> get-msifeatureinfo "{90120000-00BA-0409-0000-0000000FF1CE}" "GrooveFilesIntl_1033"

Gets state information for the feature "GrooveFilesIntl_1033" installed by product "{90120000-00BA-0409-0000-0000000FF1CE}".

Related Links

Last edited May 15, 2009 at 10:42 PM by heaths, version 1

Comments

No comments yet.