Start SharePoint Service Application Proxy powershell

If your Usage and Health Data Collection Proxy is in a stopped state here is a quick bit of PowerShell to to get it started:

$sap = Get-SPServiceApplicationProxy | where-object {$_.TypeName -eq “Usage and Health Data Collection Proxy”}

$sap.Provision()

The above can easily be adapted to allow you to start any Service Application Proxy.

Video: service application proxy sharepoint

Partial Index Reset of a single content source

Partial Index Reset of a single content source

This script will remove and re-add your content source‘s start addresses.

SharePoint will more or less rebuild the index for these sources, when the next full crawl is started.

$sourceName = "Local SharePoint sites"
$SSA = Get-SPEnterpriseSearchServiceApplication
$source = Get-SPEnterpriseSearchCrawlContentSource -Identity $sourceName -SearchApplication $SSA
$startaddresses = $source.StartAddresses | ForEach-Object { $_.OriginalString }
$source.StartAddresses.Clear()
ForEach ($address in $startaddresses ){ $source.StartAddresses.Add($address) }

Similar Post

Item crawled error when attempting to download item example aspx file SharePoint

Error

SharePoint Crawl Log Error: The SharePoint item being crawled returned an error when attempting to download the item for example .aspx files

Solution :

  1. Open Regedit on your search server/s
  2. Navigate to this registry key: HKEY_LOCAL_MACHINESOFTWAREMicrosoftOffice  Server14.0SearchGlobalGathering Manager
  3. Change Value “UserAgent” from  “MSIE 4.01”to“MSIE 8.0”
  4. Restart the SharePoint Search Service.
  5. Open a SharePoint PowerShell
    Get-SPSessionStateService
    If this returns false then we need to deploy one
    Enable-SPSessionStateService -DatabaseName “NameOfDatabase”
    Now lets go back and re-run that crawl