I was trying to see the sample code for something like a custom PSHost for interactive powershell from C#. I am interested in running the Powershell scripts in a windows forms application and displaying the results in the form. I want the results to be displayed in real time. If not, the wait time for results to the user will be too long. However, when I look at the web page below, I can not seem to find the sample code anywhere:
I guess I must be doing something wrong, or are the code samples missing?