Howto: Invoking cmdlets from within a cmdlet…

A fairly common question cmdlet developers have is “How do I invoke a cmdlet from within a cmdlet”. This usually comes up when converting a script or function into a compiled cmdlet. Marco Shaw is writing a nice series of blog posts covering this topic using the PowerGadgets  cmdlets as examples. Check it out at:


 http://marcoshaw.blogspot.com/2007/09/howto-invoking-cmdlets-within-cmdlet.html


(As an aside – we’re doing a bunch of stuff in V2 that will make this scenario both easier and more effective. It’s pretty cool! We’ll be releasing the details on this and other V2 features in November at ITForum.)


-bruce


=========================================================


Bruce Payette


Principal Developer, Windows PowerShell Team