< Back

Get-MSISharedComponentInfo

Sat Jan 18, 2020 4:44 pm

NAME 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>] [<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 None

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? 1

Default value 2

Accept pipeline input? False

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



OUTPUTS

Microsoft.Deployment.WindowsInstaller.ComponentInstallation







NOTES









-------------------------- 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

Get-MSIComponentInfo