Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Im trying to automate as much of the upgrade I am working on and one of the manual steps is to change the page layout of 5 root webs of site collections, each of which has to have this new page layout uploaded to it as well as the content type changed.

I have script to upload the page layout, and change the page layout of the page, but not change the content type of the layout.

Is the content type an exposed property of the page layout? If so, how would I access it?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

Here is a different looking approach since it has used Module.File.Property and Elements.xml to update the pages: http://blog.mastykarz.nl/provisioning-publishing-pages-powershell/

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.