Executing and communicating with powershell from a program.

Lets say we have a program (written in arbitrary language) that invokes ps scripts (since using winapi directly is unpleasant). The program obviously needs to make sure that the correct version of powershell is supported and then do the job. The easiest would be just to grab the output from the ps scripts. But is there some form of ipc that people use when using ps scripts like this ?

submitted by /u/holyjeff
[link] [comments]

Leave a Reply