Issue: users are complaining of emails not showing up in search and you’ve determined you need to rebuild Exchange 2010’s search index.
Steps:
1、Launch Exchange Management Shell as administrator (right click run as administrator)
2、type get-mailboxdatabase to get the names of the databases. Copy the name of the database you’d like to rebuild.
3、browse to the scripts directory by typing the following:
cd
cd “program files\microsoft\exchange server\v14\scripts”
4、Enter the following command to rebuild:
ResetSearchIndex.ps1 “Mailbox Database 1”
Note: specify your desired database name instead of “Mailbox Database 1”