You need to user "New-MailboxSearch" command to create mailbox search for those mailboxes:
Get-Mailbox | where{$_.RecipientTypeDetails -eq "UserMailbox"} |foreach{ New-MailboxSearch -Name $_.Name -SourceMailboxes $_.Name -StartDate "08/29/2019" -EndDate "8/30/2021" -EstimateOnly}
Then use command below to start those search requests:
Get-MailboxSearch | Start-MailboxSearch
Wait a long time, because the Mailbox Search may take a long time to run.
Then, you could use command below to check the completed search request:
Get-MailboxSearch | where{$_.Status -eq "EstimateSucceeded"} | fl Name,ResultNumberEstimate
You could use command below to check status for all requests:
Get-MailboxSearch
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.