The DFO Show

The DFO Show - Hosting Windows PowerShell Part 2

Download this episode

Download Video

Description

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 http://blogs.msdn.com/daiken/archive/2007/06/22/hosting-windows-powershell-sample-code.aspx.

Tag:

PowerShell

Embed

Format

Available formats for this video:

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

    The Discussion

    • dfinke

      Thanks for the video and code. Very helpful.

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

    • dfinke
      Sorry, that was misleading. Downloaded your code.

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

      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.

      Thanks

    Comments closed

    Comments have been closed since this content was published more than 30 days ago, but if you'd like to continue the conversation, please create a new thread in our Forums, or Contact Us and let us know.