How to: Rename a Web Application in SharePoint 2010

Today, I opened up my Central Admin on my test environment, only to be greeted by numerous web applications that I had created in the part in order to work with some project locally.

Their names were in the form: SharePoint + Port Number

I had no clue what was what in there.

I tried to figure out a way to rename my Web Applications but no joy.

After a bit of digging, I came across this wonderful post on sharepoint.stackexchange.com  that explains everything wonderfully. A few powershell commands is all it needs. Follow the steps bellow to rename your SharePoint 2010 Web Application from within PowerShell.

$a=Get-SPWebApplication | where {$_.Name -match “Demo”}
$a.Name
$a.Name=”New web application name”
$a.Update()
Get-SPWebApplication | where {$_.Name -match “New web application name”}

Thank you Mathieu Chateau.

MGR: the Intelogist

About MGR: the Intelogist

SharePoint Server developer, turned Sitefinity developer, turned Angular developer, turned SharePoint Online consultant, turned Unily consultant, turned O365 consultant... Never a dull moment!

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> 

This site uses Akismet to reduce spam. Learn how your comment data is processed.