Posted By: DavidAiken | Jun 26th, 2007 @ 9:51 AM

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.

Tags:
Rating:
0
0

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.

Thanks