How to access PowerShell script output in Delphi?
I am looking for something similar to System.Management.Automation.PowerShell , but in native code.
To be more precise: I would like to process the objects PSObjectreturned by the PowerShell application.
I think since PowerShell is written in .NET, will I need to host the .NET platform in my Delphi application?
I saw a library called PowerShell Objects Delphi Edition on the component source, but the demo does not support XE2, and I cannot find the library on the manufaturers homepage.
Clarification : I'm not looking for a way to start PowerShell, CreateProcess works fine for this.
source
share