3 ways to edit SharePoint page properties
by Hojo Clement • May 19, 2010 • MOSS 2007, PowerShell • 1 Comment
Here comes another post in the series of “3 ways to do….”. Here is how you can edit the properties of a page in Sharepoint
using browser
1. Go to the pages library of the site.
2. Click Checkout menu of the page
3. Click property menu of the page
4. Edit property and save
5. Finally checkin that page
using Object model
SPSite site = new SPSite("http://mysite");
SPWeb web = site.OpenWeb();
SPFile file = web.GetFile("./pages/default.aspx");
file.CheckOut();
file.Item["Title"] = "new title";
file.Item.Update();
file.CheckIn("title edited");
using PowerShell
[system.reflection.assembly]::loadwithpartialname("microsoft.sharepoint")
$site= New-Object Microsoft.SharePoint.SPSite ("http://mysite")
$web=$site.OpenWeb()
$page = $web.GetFile("./Pages/default.aspx")
$page.CheckOut()
$page.Item["Title"] = "new title"
$page.item.update()
$page.CheckIn("title edited")

When you are using your browser to edit properties, you can do that in bulk (multiple items) too with this free tool on codeplex:
http://sp2010batchedit.codeplex.com/