Project Description
This document details the steps to upload Master pages and Page Layouts to Master Page Gallery using the “Upload Master Pages” Utility.

1- Download the .zip file
2- Edit the “UploadMasterPages.bat” file and Change the <<site collection url>> in the text below with respect to the environment. e.g. http://sitecollectionurl
3- Save the “UploadMasterPages.bat” file and close it.
4- Put all of your master pages and page layouts to Doc folder.
5- Run “UploadMasterPages.bat” file as Administrator.
6- The files under “Docs” folder will be uploaded to the Master Page Gallery.

Note: A log file is created on root directory after execution of script, check log file for details.

If you are facing issue "File xxxxxxxx.ps1 cannot be loaded. The file xxxxxxxx.ps1 is not digitally signed. The script will not execute on the system. Please see "get-help about_signing" for more details" then right-click the .ps1 file in Windows Explorer and click Properties. In the General tab, click the Unblock button.


Read my blog for SharePoint Articles

Last edited Jul 4, 2012 at 7:33 AM by VivekJagga, version 6