Loading user information from Channel 9

Something went wrong getting user information from Channel 9

Latest Achievement:

Loading user information from MSDN

Something went wrong getting user information from MSDN

Visual Studio Achievements

Latest Achievement:

Loading Visual Studio Achievements

Something went wrong getting the Visual Studio Achievements

The DFO Show - Hosting Windows PowerShell Part 2


Right click “Save as…”

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.


Follow the discussion

  • Oops, something didn't work.

    Getting subscription
    Subscribe to this conversation
  • Thanks for the video and code. Very helpful.

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

  • Sorry, that was misleading. Downloaded your code.

    I was hoping the source might be available for the PowerShell Console that ships with PowerShell.
  • 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.


Remove this comment

Remove this thread


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.