CmdID / PowerShell / Cmdlets / Set
Set-MailboxSearch
Use the Set-MailboxSearch cmdlet to modify an existing mailbox search. Exchange PowerShell reference
From the Exchange PowerShell reference 29 parameters Its page in the reference
Parameters
Show its 29 parameters
-IdentityThe Identity parameter specifies the name of the mailbox search that you want to modify.-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 excludes items in the user's Archive mailbox from mailbox searches.-EndDateThe EndDate parameter specifies the end date of the date range.-EstimateOnlyThe EstimateOnly switch provides only an estimate of the number of items that will be returned without copying message to the target mailbox.-ExcludeDuplicateMessagesThe ExcludeDuplicateMessages parameter eliminates duplication of messages across mailboxes in an In-Place eDiscovery search.-ForceThe Force switch hides warning or confirmation messages.-IncludeKeywordStatisticsThe IncludeKeywordStatistics switch returns keyword statistics (number of instances for each keyword).-IncludeUnsearchableItemsThe IncludeUnsearchableItems parameter specifies whether 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.-ItemHoldPeriodThe ItemHoldPeriod parameter specifies the number of days for the In-Place Hold onthe mailbox items (all items or the mailbox items that are returned in the search query results).-LanguageThe Language parameter specifies a locale for the mailbox search.-LogLevelThe LogLevel parameter specifies a logging level for the mailbox search.-MessageTypesThe MessageTypes parameter specifies the message types to include in the search query.-NameThe Name parameter specifies a name for the search.-RecipientsThe Recipients parameter specifies one or more recipients include in the search query.-SearchDumpsterThe SearchDumpster parameter 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 mailboxes to be searched.-StartDateThe StartDate parameter specifies the start date of the date range.-StatisticsStartIndexThe StatisticsStartIndex parameter is used by the Exchange admin center (EAC) to retrieve keyword statistics in a paged operation.-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, -wiThe WhatIf switch shows what the command does without making any changes.