header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
Hosting Powershell V2
Last Post 25 Jun 2009 02:12 PM by CodeSlinger. 5 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev
You are not authorized to post a reply.
Author Messages
JuergenUser is Offline
New Member
New Member
Posts:2

--
21 Jan 2008 12:49 PM

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

    Juergen

    Marco Shaw (MVP)User is Offline
    Veteran Member
    Veteran Member
    Posts:1641
    Avatar

    --
    22 Jan 2008 06:03 AM
    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
    JuergenUser is Offline
    New Member
    New Member
    Posts:2

    --
    23 Jan 2008 01: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.



     

    Richard SiddawayUser is Offline
    New Member
    New Member
    Posts:50
    Avatar

    --
    27 Jan 2008 01: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
    Joel "Jaykul" BennettUser is Offline
    Basic Member
    Basic Member
    Posts:112
    Avatar

    --
    14 Mar 2008 09:42 PM
    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 02: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.3
    right
    footer   footer
    footer Sponsored by Quest Software • SAPIEN Technologies • Compellent • Microsoft Windows Server 2008 R2 footer
    footer   footer