exchange – export and delete old

New-MailboxExportRequest -Mailbox USERNAME -ContentFilter "Received -lt '1.1.2018'" -FilePath \SERVER\f$\shares\pst\USER_mails_before_2018.pst

Search-Mailbox -id USER -SearchQuery "Received<1.1.2018" -DeleteContent

Leave a Reply

Your email address will not be published. Required fields are marked *