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
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Thanks for the points
Open in new window