< Back
Get-MSIFeatureInfo
Post
NAME Get-MSIFeatureInfo
SYNOPSIS
Gets information about features of an installed or advertised product.
SYNTAX
Get-MSIFeatureInfo [-ProductCode] <String> [-FeatureName] <String[]> [<CommonParameters>]
Get-MSIFeatureInfo [-Product] <ProductInstallation[]> [<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 None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Product <ProductInstallation[]>
The ProductInstallation object that installed or advertised specified features.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-ProductCode <String>
The ProductCode that installed or advertised specified features.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Microsoft.Deployment.WindowsInstaller.ProductInstallation
OUTPUTS
Microsoft.Deployment.WindowsInstaller.FeatureInstallation
NOTES
-------------------------- 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
Get-MSIProductInfo
SYNOPSIS
Gets information about features of an installed or advertised product.
SYNTAX
Get-MSIFeatureInfo [-ProductCode] <String> [-FeatureName] <String[]> [<CommonParameters>]
Get-MSIFeatureInfo [-Product] <ProductInstallation[]> [<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 None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Product <ProductInstallation[]>
The ProductInstallation object that installed or advertised specified features.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-ProductCode <String>
The ProductCode that installed or advertised specified features.
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Microsoft.Deployment.WindowsInstaller.ProductInstallation
OUTPUTS
Microsoft.Deployment.WindowsInstaller.FeatureInstallation
NOTES
-------------------------- 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
Get-MSIProductInfo