Hi,
I'd like to delete all emails from specific users folder (Inbox, Sent Items, Outbox) through specific or all mailboxes (use Get-Mailbox -ResultSize unlimited) and put it into target folder. At the moment I've used:
Get-Mailbox -ResultSize unlimited | Search-Mailbox -TargetMailbox BackupMail -TargetFolder Inbox -DeleteContent
but this delete ALL mails from all mailboxes and put it into Inbox of BackupMail mailbox. Instead of this, I'd like to delete mails from specific folder, not all mails.
Can you please advice?
Thnx