C# Corner
Tech
News
Videos
Forums
Trainings
Books
Events
More
Interviews
Jobs
Live
Learn
Career
Members
Blogs
Challenges
Certifications
Bounties
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Refer
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Start The Incremental Crawl In SharePoint 2013 Using PowerShell
WhatsApp
Gowtham Rajamanickam
8y
12.6
k
0
0
25
Blog
Steps
Open your SharePoint Management Shell.
Copy the below code and paste it there.
Run the below code to delete the SharePoint Search component.
Code
$SearchServiceApplication = Get-SPEnterpriseSearchServiceApplication -Identity
"Search Service Application"
#Get the Local SharePoint sites content source
$ContentSource = $SearchServiceApplication | Get-SPEnterpriseSearchCrawlContentSource -Identity
"CustomCrwalComponent"
#Check if Crawler is not already running or Idle
if
($ContentSource.CrawlState -eq
"Idle"
)
{
Write-Host
"Incremental Crawl Starts..."
$ContentSource.StartIncrementalCrawl()
}
else
{
Write-Host
" Crawl is already starts!"
Write-Host
"ContentSourceName: "
, $ContentSource.Name,
" - "
, $ContentSource.CrawlStatus
}
Thanks for reading this blog.
People also reading
Membership not found