Answer the question
In order to leave comments, you need to log in
How to use filters in ExchangeOnline PowerShell selection?
Please help correct your request.
Get-Mailbox -ResultSize unlimited | Search-Mailbox -SearchQuery "from:[email protected] AND sent<=01/06/2021" -EstimateResultOnly -SearchDumpster:$false
Answer the question
In order to leave comments, you need to log in
$mbx = Get-Mailbox -ResultSize unlimited | where {$_.name -ne "admin"}
$mbx | Search-Mailbox -SearchQuery "from:[email protected] AND sent<=01/06/2021" -EstimateResultOnly -SearchDumpster:$false
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question