Get-Mailbox -Server Server1 -ResultSize Unlimited | Export-Mailbox -IncludeFolders "\Inbox" -StartDate "09/07/2010" -EndDate "09/09/2010" -DeleteContent -TargetMailbox MyBackupMailbox -TargetFolder DeleteMsgs -Confirm:$false
Open in new window
Get-Mailbox | Export-Mailbox -DeleteContent
Get-Mailbox -Server “your server” | Search-Mailbox -DeleteContent
Get-Mailbox -Server “your server” | Search-Mailbox -SearchQuery 'Subject:"*"' -DeleteContent
IT issues often require a personalized solution. With Ask the Experts™, submit your questions to our certified professionals and receive unlimited, customized solutions that work for you.
Take hold of your future.