CmdID / PowerShell / Cmdlets / New
New-MailboxSearch
Use the New-MailboxSearch cmdlet to create a mailbox search and either get an estimate of search results, place search results on In-Place Hold or copy them to a Discovery mailbox. Exchange PowerShell reference
From the Exchange PowerShell reference 28 parameters Its page in the reference
Parameters
Show its 28 parameters
-NameThe Name parameter specifies a friendly name for the search.-AllPublicFolderSourcesThe AllPublicFolderSources parameter specifies whether to include all public folders in the organization in the search.-AllSourceMailboxesThe AllSourceMailboxes parameter specifies whether to include all mailboxes in the search.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DescriptionThe Description parameter specifies a description for the search.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-DoNotIncludeArchiveThe DoNotIncludeArchive switch specifies that archive mailboxes are not included in the search.-EndDateThe EndDate parameter specifies the end date of the date range.-EstimateOnlyThe EstimateOnly switch specifies that only an estimate of the number of items to be returned is provided.-ExcludeDuplicateMessagesThe ExcludeDuplicateMessages parameter eliminates duplication of messages in search results.-ForceThe Force switch hides warning or confirmation messages.-IncludeKeywordStatisticsThe IncludeKeywordStatistics switch returns keyword statistics (number of instances for each keyword) in search results.-IncludeUnsearchableItemsThe IncludeUnsearchableItems switch specifies that items that couldn't be indexed by Exchange Search should be included in the results.-InPlaceHoldEnabledThe InPlaceHoldEnabled parameter specifies whether to set an In-Place Hold on items in the search results.-InPlaceHoldIdentityThis parameter is reserved for internal Microsoft use.-ItemHoldPeriodThe ItemHoldPeriod parameter specifies the number of days for the In-Place Hold onthe mailbox items (all mailbox items or the items that are returned in the search query results).-LanguageThe Language parameter specifies a locale for the search.-LogLevelThe LogLevel parameter specifies the logging level for the search.-MessageTypesThe MessageTypes parameter specifies the message types to include in the search query.-RecipientsThe Recipients parameter specifies one or more recipients to include in the search query.-SearchDumpsterThe SearchDumpster switch specifies whether the dumpster is searched.-SearchQueryThe SearchQuery parameter specifies keywords for the search query by using the Keyword Query Language (KQL).-SendersThe Senders parameter specifies one or more senders to include in the search query.-SourceMailboxesThe SourceMailboxes parameter specifies the identity of one or more mailboxes to be searched.-StartDateThe StartDate parameter specifies the start date of the date range.-StatusMailRecipientsThe StatusMailRecipients parameter specifies one or more recipients to receive a status email message upon completion of the search.-TargetMailboxThe TargetMailbox parameter specifies the destination mailbox where the search results are copied.-WhatIf, -wiThis parameter is reserved for internal Microsoft use.