magritton
9/6/2016 - 12:29 AM

This compiles the search scopes in the SharePoint search service application. I used this when I was creating new scopes.

This compiles the search scopes in the SharePoint search service application. I used this when I was creating new scopes.

$ssa = Get-SPenterpriseSearchServiceApplication 
write-host $ssa.name
$ssa.StartScopesCompilation()