The title of this question might be a bit clumsily phrased, but here\'s the situation:
I have a .NET web project deployed on my server.
In order to make things simple and make sure I would be able to roll back everything, I would create a PowerShell Script that performed the following actions:
You can automate all of that in a Powershell script (the only thing I'm not sure is about the app pool, but I'm pretty sure that you can do this).
More info on PowerShell can be found here: http://arstechnica.com/business/news/2005/10/msh.ars/2