Geeks With Blogs
Clara's Notes on Technology Notes to me and the world November 2010 Entries
Powershell: Change Title of PublishingPage
Today I had to change the title of several pages in several publishing sites. You can find the powershell script below. Notice that you have to access the pages as PublishingPage and not SPListItem,otherwise you will not be able to modify the Title field ("Title" is ReadOnly). Also, you have to go through the same procedure as in the UI: checkout, change property, checkin and publish (and maybe approve if the library requires it). Add-PSSnapin "Microsoft.SharePoint.Power... -ErrorAction SilentlyContinue ......

Posted On Thursday, November 25, 2010 5:17 AM

Copyright © Clara Oscura | Powered by: GeeksWithBlogs.net