Monday, August 18, 2014

Stop SharePoint Search crawls using Powershell command

Stop SharePoint Search crawls using Powershell command

$searchapp = Get-SPEnterpriseSearchServiceApplication "NameofSearchService application"

$contentsource = Get-SPEnterpriseSearchCrawlContentSource "NameofContentsource" -SearchApplication $searchapp

$contentsource.StopCrawl()

Check Central admin and make sure content source crawl status is in stopping state or in idle state.

No comments:

Post a Comment