Thursday, June 6, 2013

SharePoint rename web application

Here is the small powershell script which will rename your SharePoint web application.


#Point to the site your web application hosts to grab a reference to the web application
$SPSite = new-object Microsoft.SharePoint.SPSite("http://servername:114")
$WebApp = $SPSite.WebApplication

$WebApp.Name = "New webapplication name"

#Update Web Application

Thank you !!

1 comment:

  1. 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.