Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2007-02-01

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:

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

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

    Copy Code
    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: