I have an application with an API I am trying to reverse engineer to discover the .NET and COM classes it exposes. I am able to load all the .NET Assemblies in PowerShell via
ls 'C:\Program Files\MyApp\Bin\*.dll'| %{Add-Type -Path $_.FullName}
I can then use reflection to find out all the types, and instantiate them VIA New-Object. However, what if I have a DLL that exposes COM objects, for example a VB6 ActiveX dll. Will Add-Type -Path
expose the COM objects in those DLLs, or do I need to Register them with Regsvr32?