header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

We have a new sponsor!  Introducting Pragma Systems.  See the home page for details.

Hosting Powershell V2
Last Post 25 Jun 2009 10:12 PM by CodeSlinger. 5 Replies.
Printer Friendly
Sort:
PrevPrev
You are not authorized to post a reply.
Author Messages
goldfingerUser is Offline
New Member
New Member
Posts:2

--
21 Jan 2008 08:49 PM  

Is there some example code available which shows how to use the new API for hosting PowerShell V2?

Juergen

marco.shawUser is Offline
Site Moderator
Advanced Member
Advanced Member
Posts:653
Avatar

--
22 Jan 2008 02:03 PM  
Was there anything in particular you were looking for? There's a v2 CTP SDK .chm available, but it is very incomplete currently.
Marco

*Microsoft MVP - Windows PowerShell
https://mvp.support.microsoft.com/profile/Marco.Shaw
*Co-Author - Sams Windows PowerShell Unleashed 2nd Edition
*Blog - http://marcoshaw.blogspot.com
goldfingerUser is Offline
New Member
New Member
Posts:2

--
23 Jan 2008 09:35 PM  

> Was there anything in particular you were looking for? 
Jeffrey said that the new hosting API  allow  easier to host PowerShell.
I modified the MS sample code to host Powershell V1 in MMC 3.0. 
But because of the new API and the remote features I think it will be a good decision to wait of PS V2.
(And Aspen  MMC 4.0 is to far away.)

> There's a v2 CTP SDK .chm available, but it is very incomplete currently.
Yes I looked into it. But don't see how the pieces are working together. 
Waiting is an option.



 

RichSUser is Offline
New Member
New Member
Posts:50
Avatar

--
27 Jan 2008 09:44 AM  

There seems to be quite a bit of SDK type information that is incomplete.  If you look at some of the newer .NET classes there aren't any useful examples.  I think waiting and\or guessing are our only options

Richard Siddaway
Microsoft MVP - PowerShell
UK PowerShell User group Leader
www.get-psuguk.org.uk
JaykulUser is Online
New Member
New Member
Posts:95
Avatar

--
15 Mar 2008 05:42 AM  
I haven't seen _anything_ about the hosting API changing, and all my old hosting code seems to continue to work in the current CTP ... I would *not* recommend "waiting for documentation from the PowerShell team" as a viable option, unless you're just looking for a reason to put this off indefinitely...
CodeSlingerUser is Offline
New Member
New Member
Posts:9
Avatar

--
25 Jun 2009 10:12 PM  
Any updates in respect to documentation or hosting examples for 2.0 version? I have the Windows 7 SDK installed but the PowerShell doc and examples there are pretty minimal.

Also, is there a best practice for a reference to the 2.0 module? I've seen folks copy it to their project as did I since it does not seem to show up in the readily available references available even though I installed the SDK.

Thanks, Dave
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 footer
footer