Reset the content index of SharePoint Server 2010 via PowerShell

Reset the content index of SharePoint Server 2010 via PowerShell

  • Comments 2
  • Likes

To reset the content index of your Search Service Application, you can either use the UI as described in the following TechNet article, or use the following PowerShell command :

(Get-SPEnterpriseSearchServiceApplication).Reset($true,$true)

The Reset function takes 2 Boolean parameters :

- Disable Alerts

- Ignore Unreachable Server

 

This sample is for a Farm containing only one instance of the Search Service Application, if you have more than one you should adapt the sample.

Comments
  • Command is not recognized in PowerShell, any prerequisites so that this commande would be recognized?

  • You need to run 'Add-PSSnapin "Microsoft.SharePoint.PowerShell"' first

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment