Home > Coding > Rename a SharePoint 2010 Web Application with PowerShell

Rename a SharePoint 2010 Web Application with PowerShell

Just go simple with powershell. Here is how to rename without doing more than that:

$a=Get-SPWebApplication | where {$_.Name -match "Old web application name"}

$a.Name

$a.Name="New web application name"

$a.Update()

Get-SPWebApplication | where {$_.Name -match "New web application name"}

Categories: Coding Tags: ,
  1. AbuBenAdam
    July 26, 2013 at 1:06 PM

    Thanks, But these steps renames only the web application name. If you want to change web application URL You have to update AAM and IIS Host header bindings.

    Found this article with complete steps: How to Rename SharePoint Web Application Name and URL
    http://www.sharepointdiary.com/2013/07/how-to-change-sharepoint-web-application-name-and-url.html#ixzz2aAz5rq2z

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: