Get content source in sharepoint 2019 search service application using powershell

Get content source in sharepoint 2019 search service application using powershell. follow the code below to get the list with Name, Id, Type, CrawlState, CrawlCompleted date and time

$ssa=Get-SPEnterpriseSearchServiceApplication
Get-SPEnterpriseSearchCrawlContentSource -SearchApplication $ssa
Advertisements
https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8844016778182294 (adsbygoogle = window.adsbygoogle || []).push({});
Get content source in sharepoint 2019 search service application using powershell
Advertisements

Get content source SharePoint Search Using Powershell | #SharePoint2019#SearchServiceApplication

Get content source SharePoint Search Using Powershell | #SharePoint2019#SearchServiceApplication
Advertisements
https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-8844016778182294 (adsbygoogle = window.adsbygoogle || []).push({});

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