Blow PowerShell script will list down the com+ application running
on your machine and the identity on which they run
$comAdmin
= New-Object
-com ("COMAdmin.COMAdminCatalog.1")
$applications
= $comAdmin.GetCollection("Applications")
$applications.Populate()
foreach
($application in
$applications)
{
$application.Value("Name") + " "
+ $application.Value("Identity")
}
To get apps and next level components I used
ReplyDelete$comAdmin = New-Object -com ("COMAdmin.COMAdminCatalog.1")
$applications = $comAdmin.GetCollection("Applications")
$applications.Populate()
foreach ($AppObject in $applications) {
"`nApplication $($appObject.key) $($appObject.Name) ID: $($appObject.Value("Identity"))"
$Components = $applications.GetCollection("Components", $AppObject.Key)
$Components.populate()
$components | foreach-object {
"Component $($_.key) $($_.Name)" }
}
Thanks for helping me to get started.