Archive

Posts Tagged ‘PowerShell’

Rename a SharePoint 2010 Web Application with PowerShell

March 8, 2013 1 comment

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: ,