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:
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.
- How to
Disable or Enable Exchange Search
This procedure shows you how to use the Exchange Management Shell to enable or disable Exchange Search for a mailbox database. This procedure also shows you how to use the Services Microsoft Management Console (MMC) snap-in to disable Exchange Search for a Mailbox server.
- How to
Diagnose Exchange Search Issues
This procedure shows you how to use the Exchange Management Shell, Services MMC snap-in, Event Viewer, and Performance Monitor to diagnose and resolve Exchange Search issues.
- How To Use
Exchange Search to Locate Messages for the Purposes of Review or
This procedure shows you how to use Exchange Search in conjunction with the Export-Mailbox cmdlet to search for specific message content, and then either review or delete the messages that contain the content.
For More Information
To learn more about Exchange Search, see the following:
- Understanding Exchange
- The New Search in Exchange Server 2007