Rename a Sharepoint Web Application

Tags: Sharepoint, application, rename

Must be done in Sharepoint Management Shell (Powershell)

$WebApp = SPWebApplication | where {$_.Name -match "OldWebAppName"}
$WebApp.Name ="NewWebAppName"
$WebApp.Update()
# This bit is just to verify it updated correctly
Get-SPWebApplication | where {$_.Name -match "NewWebAppName"}

Source:  https://www.risual.com/2013/04/sharepoint-2013-changing-the-name-of-a-web-application/

No Comments

You must log on to comment.