Listing available COM Objects with Powershell
- by outtacontrol
I am currently using the following script to list the available COM Objects on my machine.
$path = "REGISTRY::HKEY_CLASSES_ROOT\CLSID\*\PROGID"
foreach ($obj in dir $path) {
write-host $obj.GetValue("")
}
I read on another website that the existence of the InProcServer32 key is evidence that the object is 64 bit compatible.
So using powershell how can I determine the existence of InProcServer32 for each COM Object? If that is even the correct way of establishing whether it is 32 bit or 64 bit.