SharePoint – Monitor the Search service

Sometime when you hit a performance issue on your SharePoint Server.

This can be caused by the Search Service being to aggressive or taking too long to crawl the data.

Well using Powershell we can list the status and details of the Search Services.


if((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null)
    Add-PSSnapin Microsoft.SharePoint.PowerShell;
Write-Host "Search Service Status ..."

Write-Host "Search Crawl Service details ..."
$crawlSource = Get-SPEnterpriseSearchCrawlContentSource `
                -SearchApplication (Get-SPEnterpriseSearchServiceApplication)



Output will look like this.


Where you can see how long it took the last time and whether the service is still active or Idle.

Sometime the server is overloaded if the Crawl schedules take too long and are overlapping each other.

So this can give you a starting point for debugging Winking smile


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: