kwizcom banner advertisement

Rename SharePoint Service Application, Proxy using PowerShell

If you want to rename a SharePoint service application or Service application proxy, There is now UI available. But PowerShell can help!

PowerShell script to rename SharePoint 2013 Service application and Proxy:
Add-PSSnapin microsoft.sharepoint.powershell -ErrorAction SilentlyContinue

#### rename sharepoint service application proxy### 
#Get the Service Application proxy
$Proxy = Get-SPServiceApplicationProxy | ? {$_.Name -eq "Search SSA Proxy"} 
#Rename Service application proxy
$Proxy.Name = "Search Service Application Proxy"  
$Proxy.Update()

###sharepoint 2013 rename service application###
#Get Service application
$Service = Get-SPServiceApplication -Name "Search Service App"
#Rename Service application
$Service.Name = "Search Service Application" 
$Service.Update() 
After the rename:
rename search service application sharepoint 2010
rename SharePoint service application
Rename SharePoint Service Application, Proxy using PowerShell Rename SharePoint Service Application, Proxy using PowerShell Reviewed by Salaudeen Rajack on 10:34 AM Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.