Get-MSISharedComponentInfo

Synopsis

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

Syntax

  • Get-MSISharedComponentInfo [[-ComponentCode] <String[]>] [[-Count] <Int32>]

Detailed 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? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Count <Int32>

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

Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false

Return Type

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

Notes

Example 1

C:\PS> 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 May 15, 2009 at 10:47 PM by heaths, version 1

Comments

No comments yet.