The DFO Show - Hosting Windows PowerShell Part 2

Download this episode

Download Video


In this 2nd part of 3, David builds upon part 1, by using the PSObject.BaseObject to access the strongly typed data.


Then you will see how to enable interaction between PowerShell and your GUI via a custom host, using PSHost and PSHostUserInterface.


The code used in the demo is available at





Available formats for this video:

Actual format may change based on video formats available and browser capability.

    The Discussion

    • User profile image

      Thanks for the video and code. Very helpful.

      Any chance the PowerShell Console code will be added to CodePlex?

    • User profile image
      Sorry, that was misleading. Downloaded your code.

      I was hoping the source might be available for the PowerShell Console that ships with PowerShell.
    • User profile image

      Thanks, i'm glad you found it usefull.

      The code is currently downloadable from my blog (link is above in case you missed it). If that does not work please let me know and i'll post it to the sandbox.


    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.