PowerShell and MSBuild Extensible Task Factories
One of the cool new features of MSBuild 4.0 is the extensible task factory. Writing your own task factory will allow you to write inline tasks in Perl, Python, or in this case… Windows PowerShell.
Blog post MSBuild Task Factories: guest starring Windows Powershell.
Sample task factory on MSDN Code Gallery MSBuild Windows PowerShell Task Factory.

