http://blogs.technet.com/b/heyscriptingguy/archive/2010/09/21/use-sharepoint-2010-powershell-cmdlets-to-get-and-manage-sites.aspx
Modifying Sites in SharePoint 2010
If we want to modify specific properties, we can use the Set-SPWeb cmdlet. Heres how to change the description of a site:
PS > Get-SPWeb -Identity http://SPServer | Set-SPWeb -Description
"PowerShell is Cool"
You can use the Set-SPWeb cmdlet to set some of the properties. At some point youll want to change additional properties that are not supported by the
Set-SPWeb cmdlet. You can do this by storing a site in a variable and then set the properties:
PS > $spWeb = Get-SPWeb -Identity http://SPServer
PS > $spWeb.Title =
"PowerShell"
PS > $spWeb.TreeViewEnabled =
"True"
PS > $spWeb.Update()
Just perform IISreset and check site collections again
http://sharepoint.stackexchange.com/questions/50800/how-to-change-name-and-description-website
Get-SPWeb -Identity http://site/project/project01 | Set-SPWeb
-Title "My new title" -Description "My new description"
http://santoshksp.wordpress.com/2012/10/19/27/
-
Marked as answer by
Victoria XiaMicrosoft contingent staff, Moderator
Friday, June 20, 2014 9:42 AM