A cloud-based service included in Microsoft 365, delivering scalable messaging and collaboration features with simplified management and automatic updates.
You could use the command New-ComplianceSearch to create compliance searches in the Microsoft Purview compliance portal. You use this cmdlet to define the search criteria.
For your requirement, you could use the command below:
$date= (get-date).adddays(-60);
$date = $date.ToShortDateString();
$date = [scriptblock]::create($date);
New-ComplianceSearch -name "meetings" -ExchangeLocation all -ContentMatchQuery 'subject:abc AND kind:meetings AND created>$date'
Start-ComplianceSearch “meetings”
To check the progress of your search and get some basic info about the current results, run the following cmdlet:
Get-ComplianceSearch | FL name,items,size,jobprogress,status
Then Preview eDiscovery search results Or Export Content search results
Details:
New-ComplianceSearch: how to use the newer version of Search-Mailbox
Compliance Search via O365
Please Note: Since the web sites are not hosted by Microsoft, the links may change without notice. Microsoft does not guarantee the accuracy of this information.
If an Answer 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.