Listing available COM Objects with Powershell

Posted by outtacontrol on Stack Overflow See other posts from Stack Overflow or by outtacontrol
Published on 2010-05-19T09:36:54Z Indexed on 2010/05/19 9:40 UTC
Read the original article Hit count: 419

Filed under:
|

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.

© Stack Overflow or respective owner

Related posts about powershell

Related posts about com-object