Hi,
According to your description, if you want to expand the number of email traces, you can use the Get-MessageTrace -PageSize <Int32>in cmdlet to change the number to a maximum of 5000. If you want to use PowerShell to export a message trace report, first use the Start-HistoricalSearch cmdlet to create the report, and then use Get-HistoricalSearch to get the search information. Reference URLs for specific command parameters: Get-MessageTrace (ExchangePowerShell) | Microsoft Learn
Start-HistoricalSearch (ExchangePowerShell) | Microsoft Learn