Malli Boppe
asked on
delete all mail for all users in exchange 2010
Is their a way to delete all mail for all users in exchange 2010 SP1. The reason for this is as test I have imported all the mail (through PSTs) from our current domain to the new domain. So would like to delete all the mail and start again .
Or you could try this as well (I have not tested it though):
Get-Mailbox | Export-Mailbox -DeleteContent
ASKER
Export-mailbox has been removed from exchange 2010 SP1.
Have you tried, again have not tested it, but let me know if it works?:
Get-Mailbox -Server “your server” | Search-Mailbox -DeleteContent
If ou dont need the public databse content then you can simply delete the DB file.. :)
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Thanks for the points
Open in new window