Posted on 16th November 2011No Responses
How to: Rename a Web Application in SharePoint 2010

quickTip1

 

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.

Comments
Leave a Response
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>