CmdID / PowerShell / Cmdlets / Test
Test-ExchangeSearch
Use the Test-ExchangeSearch cmdlet to test that Exchange Search is currently enabled and is indexing new email messages in a timely manner. Exchange PowerShell reference
From the Exchange PowerShell reference 9 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the mailbox that you want to test Exchange Search against.-ArchiveThe Archive switch specifies that the test is run against the archive mailbox for the mailbox user specified by the Identity parameter.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-IndexingTimeoutInSecondsThe IndexingTimeoutInSeconds parameter specifies, in seconds, the maximum amount of time to wait between adding the new email message to the test mailbox and waiting for it to be returned in a search…-MailboxDatabaseThe MailboxDatabase parameter specifies the mailbox database to test Exchange Search against.-MonitoringContextThe MonitoringContext switch includes the associated monitoring events and performance counters in the results.-ServerThe Server parameter specifies the Exchange server for the recipient that you want to test Exchange Search against.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.