SharePoint 2013 - Change Site Collection Title by using Powershell

Hi there,

is there a way to change the Title, not the URL, for a SharePoint Site Collection by using Powershell.

I have already tried some Powershell cmd:

PS D:\> get-SPweb -Identity _http://sharepointe.xxx.de/sites/Template | select title

Title
-----
Template

But when i change this title by using set-SpWeb the title is only changed in the Central Admin.

I want to change the title marked in the Screenshot

_http://oi61.tinypic.com/wvpaip.jpg

Thank Thomas


June 12th, 2014 2:10pm

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/

Free Windows Admin Tool Kit Click here and download it now
June 12th, 2014 2:25pm

Hi there,

both Options will not work.

Add-PSSnapin "Microsoft.SharePoint.PowerShell"
$web = Get-SPWeb -Identity URL 
$web.Title = "TEST NEW"
$web.Update()

This will only rename the Titel in the central admin -> View all site collection.

The Titel showing up in Browser still remain the old one. Please have a look at the screenshot in my first post.

I can do it manually under -> Site Actions --> Title, description, and logo,  but i need to know how to change THIS option with Powershell.

Thanks


March 5th, 2015 9:52am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics