Sounds like work for MSDeploy. This comes with PowerShell cmdlets (and a regular executable console.)
http://www.iis.net/download/webdeploy
Functions
- Full integration with IIS 7.0 Manager and Visual Studio 2010 interface for creating packages and deploying them on the machine, both locally and remotely.
- Full integration with the Internet The installer platform for installing a community of web applications is simple and easy.
Web application packaging:
The ability to package a web application or an entire site, including related databases.
Ability to package ACL, COM, GAC and registry settings.
It supports both direct servers and zip packets as a source or destination.
Web Application Deployment:
Administrative privileges are not required to deploy a Web application.
The ability to add powerful parameters to change the text in files when they are (for example, request replace the connection string when deploying from QA to setting environment).
Integration with IIS 7.0 Web Management Service (WMSVC) for remote management deployment by non-administrators.
Server administrators have control over operations that they can perform and can delegate tasks to non-administrators.
Web server migration and synchronization:
Ability to synchronize or migrate an entire web server, website or expression. Syncs only data that has changed.
Ability to detect missing dependencies during synchronization.
Automatically collects content, IIS configuration, SSL certificates and ASP.NET configuration when synchronizing a website.
In addition to IIS Manager and Visual Studio 10, tasks can be performed using the command line or public APIs.
-Oisn
source share