title: Listing available COM Objects with Powershell
body: <p>I am currently using the following script to list the available COM Objects on my machine.</p>
  
  <pre><code>$path = "REGISTRY::HKEY_CLASSES_ROOT\CLSID\*\PROGID"
  foreach ($obj in dir $path) {
      write-host $obj.GetValue("")
  }
  </code></pre>
  
  <p>I read on another website that the existence of the InProcServer32 key is evidence that the object is 64 bit compatible. </p>
  
  <p>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.</p>