Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition
by Jonas Andersson, Nuno Mota, Mike Pfeiffer
How it works...
One of the benefits of using the Shell instead of the EAC when performing a discovery search is that you can specify the target mailbox. The EAC requires that you use a Discovery Search Mailbox to store the results. With the New-MailboxSearch cmdlet, you can provide a value for the -TargetMailbox parameter and specify another mailbox.
If you perform a search without specifying any source mailboxes by using the -SourceMailboxes parameter, all the mailboxes in the organization will be searched, as in our previous example. One thing to keep in mind is that, in order to successfully perform a search, you need to have healthy database indexes, and indexing needs to be enabled (which it is, by default) for each database that contains ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access