Windows PowerShell CTP3 has a lot of very cool things. CTP2 introduced the Add-Type cmdlet, which allowed you to dynamically compile C# in PowerShell. It was actually possible to use the CompilerParameters to Add-Type to make a console application, but it wasn't particularly easy. In CTP3, we've made this a lot easier to do. There's now an -OutputType parameter for Add
Read More...
Read the complete post at http://blogs.msdn.com/powershell/archive/2009/01/03/how-to-write-a-console-application-in-powershell-with-add-type.aspx
Posted
Jan 02 2009, 06:26 PM
by
Windows PowerShell Blog