Share via


Managing Exchange Search

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

Microsoft Exchange Server 2007 Search is a feature that allows you to quickly search text in messages through the use of pre-built indexes. By using the Microsoft Search indexing engine (MSSearch), Exchange Search creates the initial index by crawling all messages in mailboxes within an Exchange 2007 database. As new messages arrive, Exchange Search updates the index based on notifications from the Microsoft Exchange Information Store service.

Sample Exchange Search Scripts

There are scripts located in the \Exchange Server\Scripts directory that can help you to administer and manage Exchange Search. Using the Exchange Management Shell, you can run the following scripts:

  • GetDatabaseForSearchIndex.ps1   When the index directory files are provided, this script returns the associated mailbox database names. Example script:

    GetDatabaseForSearchIndex IndexDirectoryName1 IndexDirectoryName2
    
  • GetSearchIndexForDatabase.ps1   This script returns index directories for the specified mailbox database names. Example script:

    GetSearchIndexForDatabase MailboxdatabaseName1 MailboxdatabaseName2 -All
    
  • ResetSearchIndex.ps1   This script removes the index directories that are associated with specified mailbox databases. Example script:

    ResetSearchIndex [-Force] [-All] MailboxdatabaseName1 MailboxdatabaseName2
    

This following list contains the management tasks that you can perform for Exchange Search and includes links to topics that will help you complete each task.

For More Information

To learn more about Exchange Search, see the following: