Tech
News
Videos
Forums
Jobs
Books
Events
More
Interviews
Live
Learn
Training
Career
Members
Blogs
Challenges
Certification
Contribute
Article
Blog
Video
Ebook
Interview Question
Collapse
Feed
Dashboard
Wallet
Learn
Achievements
Network
Rewards
SharpGPT
Premium
Contribute
Article
Blog
Video
Ebook
Interview Question
Register
Login
Start The Full Crawl In SharePoint 2013 Using PowerShell
WhatsApp
Gowtham Rajamanickam
8y
10.4
k
0
0
25
Blog
Steps
Open your SharePoint Management Shell.
Copy the code given below and paste it there.
Run the code given below to delete 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.StartFullCrawl();
}
else
{
Write-Host
"Full Crawl is already Starts!"
Write-Host
"NAME: "
, $ContentSource.Name,
" - "
, $ContentSource.CrawlStatus
}
Thanks for reading my blog.
SharePoint
Powershell
Up Next
How to get/set continuous crawl interval using Powershell in SharePoint 2013
Ebook Download
View all
SharePoint Framework (SPFx) A Developers Guide
Read by 11.1k people
Download Now!
Learn
View all
Membership not found