Get-MSISharedComponentInfo

Synopsis

Gets information about shared components installed or registered for the current user or the machine.

Syntax

Get-MSISharedComponentInfo [[-ComponentCode] <string[]>] [[-Count] <int>] [<CommonParameters>]

Description

Shared components are component which are installed to the same directory by one or more products. This cmdlet gets information about all or specified shared components installed for the current user or the machine.

The output is already sorted by ComponentCode then ProductCode.

Parameters

-ComponentCode <string[]>

The component GUIDs to retrieve information.

Required? false
Position 0
Default value|
Accepts pipeline input? false
Accept wildcard charactrs? false

-Count <Int32>

The minimum number count for shared components returned. The absolute minimum is 2.

Required? false
Position 1
Default value 2
Accepts pipeline input? false
Accept wildcard charactrs? false

Outputs

  • Microsoft.Deployment.WindowsInstaller.ComponentInstallation: Information about the shared components installed or registered by one or more products.

Examples

Example 1

get-msisharedcomponentinfo -count 4 | format-table -view Clients
Gets shared components installed by at least 4 products (or features) and displays them in a table grouped by ComponentCode.

Related Links


Last edited Dec 26, 2014 at 7:33 AM by heaths, version 1

Comments

No comments yet.