Modify the scope name using SharePoint PowerShell

Wednesday, October 19, 2011

Hi guys,   Here's a simple example how to modify the scope's name using SharePoint 2010 Managment Shell   write-host  -f Yellow "modifing scope Name..." Get-SPEnterpriseSearchQueryScope -Identity "Scope Name" -SearchApplication "SSA Name" | Set-SPEnterpriseSearchQueryScope -Name "My New Scope Name"  -AlternateResultsPage http://sp2010/   write-host -f green  "Scope Name was successfully modified"   That's all Folks :)