禁用连续爬网

Add-PSSnapin microsoft.sharepoint.powershell
$SSA =  Get-SPEnterpriseSearchServiceApplication
$SPContentSources = $SSA | Get-SPEnterpriseSearchCrawlContentSource | WHERE {$_.Type -eq "SharePoint"}
foreach ($cs in $SPContentSources)
{
  $cs.EnableContinuousCrawls = $false
  $cs.Update()
}

原文地址:https://www.cnblogs.com/hqbird/p/4352882.html