header1   header
header
header Register : : Login header
header
connector   connector
menuleft menuright
submenu   submenu
left
cmdlet development in C++
Last Post 17 Mar 2009 05:59 PM by Marco Shaw (MVP). 1 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
Random BitsUser is Offline
New Member
New Member
Posts:6
Avatar

--
17 Mar 2009 05:42 PM
    I would like to get your ideas and experience in developing cmdlets in C++. Is it possible to develop a powershell cmdlet without using .Net Framework and C++?

    Also please share your ideas about porting a C/C++ (unmanaged) command line tool in powershell cmdlet style snapin. Which language choice will be more efficient C++ or C#?

    It would be great if somebody can share a link to some C++ example/demo code to create cmdlets.

    Thanks.
    Marco Shaw (MVP)User is Offline
    Veteran Member
    Veteran Member
    Posts:1642
    Avatar

    --
    17 Mar 2009 05:59 PM
    You cannot develop a cmdlet without invoking .NET at some point: You will need to wrap anything you're doing and eventually link into .NET.

    That being said, if you're looking to go and create your own snapin, you'll definitely want to go with C# (or VB.NET).

    I'm not a pro developer though.
    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
    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