[Script Of Apr. 6] How to create a msdeploy package of all websites and copy to different location


Script Download:  
The script is available for download from https://gallery.technet.microsoft.com/How-to-create-a-msdeploy-c7c09bd1.

You can also use  Microsoft Script Browser for Windows PowerShell ISE to download the sample with one button click from within your scripting environment. 

This batch / command script will help in performing the below: 
1. This will package all the sites with the help of msdeploy without the site contents and includes just the configurations. 
2. This script will also move the application pools into the package 
3. This resultant package along with the generated log files will be moved to a different location.

You can find more All-In-One Script Framework script samples at https://aka.ms/onescriptingallery

Comments (0)

Skip to main content