This project is read-only.

Get-MSIFeatureInfo

Synopsis

Gets information about features of an installed or advertised product.

Syntax

Get-MSIFeatureInfo [-Product] <ProductInstallation[]> [<CommonParameters>]

Get-MSIFeatureInfo [-ProductCode] <string> [-FeatureName] <string[]> [<CommonParameters>]

Description

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

Parameters

-FeatureName <string[]>

The names of the features for which information is retrieved.

Required? true
Position 1
Default value|
Accepts pipeline input? true (ByPropertyName)
Accept wildcard charactrs? false

-Product <Microsoft.Deployment.WindowsInstaller.ProductInstallation[]>

The ProductInstallation object that installed or advertised specified features.

Required? true
Position 0
Default value|
Accepts pipeline input? true (ByValue)
Accept wildcard charactrs? false

-ProductCode <String>

The ProductCode that installed or advertised specified features.

Required? true
Position 0
Default value|
Accepts pipeline input? true (ByPropertyName)
Accept wildcard charactrs? false

Inputs

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

Outputs

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

Examples

Example 1

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

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 Dec 26, 2014 at 7:28 AM by heaths, version 1

Comments

No comments yet.