Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11571

Using Page Layouts Change Specific Master Page in SharePoint 2010 using Powershell

$
0
0

Hi,


Assigning a master page to a single page Layouts using Power shell script,Please any one give solution how to do using power shell script changing master page?

Actual code

<%@ Page Language=”C#” Inherits=”Microsoft.SharePoint.WebPartPages.WikiEditPage” MasterPageFile=”~masterurl/default.master” meta:webpartpageexpansion=”full” meta:progid=”SharePoint.WebPartPage.Document” %>

Need to modify below code using power shell script

<%@ Page Language=”C#” Inherits=”Microsoft.SharePoint.WebPartPages.WikiEditPage” MasterPageFile=”~site/_catalogs/masterpage/alternate.master” meta:webpartpageexpansion=”full” meta:progid=”SharePoint.WebPartPage.Document” %>




Viewing all articles
Browse latest Browse all 11571

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>