Dear All

We would like to use embedded Powershell in DataFlex 19.1. We tried to import System.Management.Automation from .Net via regasm but the generated class was empty:

Code:
C:\Windows\Microsoft.NET\Framework\v4.0.30319> RegAsm.exe C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System.Management.Automation\v4.0_3.0.0.0__31bf3856ad364e35\System.Management.Automation.dll /tlb:myTest.tlb
The goal is to get the output from Powershell. Currently, Powershell writes to JSON and we read the JSON once Powershell is done (Runprogram Wait).

Any input?

Best
Marco
Blackburn Group