I run command:
$Date1=(Get-Date).AddMonths(-1)
New-MailboxExportRequest -ContentFilter {(Received -lt $Date1) -or (Sent -lt $Date1)} …
in .pst file I get all e-mails, but I want only olders than one month (Get-Date).AddMonths(-1).
Is it a bug in PowerShell command? Or how to use other command to get the same result?
Thank you for help in advance!
Kind Regards Tomasz