We are just getting started with TFS 2010 and migration from SVN and CruiseControl.NET to TFS.

With cruisecontrol.NET we have a powershell script that does everything: copying, modifying, compressing files. 

Now my question is how we can integrate that script into the TFS build server? Modifying the solution or creating a custom msbuild file?

Also I would like to combine this with Web Packaging. Any idea how this can be accomplished?