Export All Websites from IIS6 in Package and export to IIS 7 with MSDeploy v3


Nice and simple commands

To export the All Website from IIS 6 in a package:

msdeploy -verb:sync -source:metakey=lm/w3svc -dest:package=c:\temp\AllSites.zip,encryptPassword=test -enableLink:appPool

 

 

To import All Websites from the package on IIS 7:

msdeploy -verb:sync -source:package=C:\temp\AllSites.zip,encryptPassword=test -dest:metakey=lm/w3svc,rootwebconfig32.netfxversion=2.0.50727,encryptPassword=test -enableLink:appPool

 

Comments (1)
  1. Raj says:

    Awesome Dude zeast of all webdeploy in two commands

Comments are closed.

Skip to main content