M A
asked on
Exchange maintenance
I have received a request to do a maintenance on exchange 2010.
Is there any check list/recommendations on how to do the maintenance.
Your advice appreciated.
Is there any check list/recommendations on how to do the maintenance.
Your advice appreciated.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Export the mails to a .pst file.
Make sure you can read the .pst file.
Make several copies of the .pst file.
Delete the old mails
This is all in Outlook. Exchange 2007 did not have Archive Mailboxes.
Make sure you can read the .pst file.
Make several copies of the .pst file.
Delete the old mails
This is all in Outlook. Exchange 2007 did not have Archive Mailboxes.
ASKER
Is there any powershell command to delete all emails before 2011 from exchange2007
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Read carefully, this is more complicated than you might think.
There are sent received and modify dates.
If you move a message to a new folder that changes it and it might not get deleted.
You probably need something like this.
Make sure you have a backup and if possible test..
Search-Mailbox -Identity <username> -SearchQuery '(Received:09/20/2012..10/ 12/2012)' -deletecontent
There are sent received and modify dates.
If you move a message to a new folder that changes it and it might not get deleted.
You probably need something like this.
Make sure you have a backup and if possible test..
Search-Mailbox -Identity <username> -SearchQuery '(Received:09/20/2012..10/
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
What is the command to delete all emails older than xx-xx-xxxx date?
For one mailbox, date format might depend on your language settings.
Search-Mailbox -Identity <username> -SearchQuery Received:<$("mm/dd/yyyy") -deletecontent
Search-Mailbox -Identity <username> -SearchQuery Received:<$("mm/dd/yyyy") -deletecontent
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
But I do agree, does this user REALLY want to delete. Make an archive first and a backup in case they change their mind, or their boss or successor needs the information.
ASKER
@ dsnegi_25dec and carolchi
I will export the emails to PST for the entire organization and delete the old emails as there is no archive system in exchange 2007
Any suggestions or any better solution you have?
I will export the emails to PST for the entire organization and delete the old emails as there is no archive system in exchange 2007
Any suggestions or any better solution you have?
You could also do this:
http://www.msexchange.org/articles-tutorials/exchange-server-2007/compliance-policies-archiving/exchange-2007-messaging-records-management-part1.html
But a PST is probably simpler
http://www.msexchange.org/articles-tutorials/exchange-server-2007/compliance-policies-archiving/exchange-2007-messaging-records-management-part1.html
But a PST is probably simpler
ASKER
I have created a new database in a newly created RAID Array and moved all the mailboxes to the new DB by skipping 100 corrupted items.
Will it help in terms of database maintenance?
Or can I tell the client that database maintenance is done?
Just wanted to know suggestions.
After this I will export the emails to PST.
Will it help in terms of database maintenance?
Or can I tell the client that database maintenance is done?
Just wanted to know suggestions.
After this I will export the emails to PST.
The question was not at all clear - I think we have provided a lot of information for a complex question about Outlook and Exchange.
Will it help in terms of database maintenance?
- Your new database will be compact but you still need to do regular maintenance as explained above.
Or can I tell the client that database maintenance is done?
- maintenance is not a one time thing but a regular process. We are not clear what your client is looking for - there was also the question about archiving, which has been done.
Just wanted to know suggestions
- Your new database will be compact but you still need to do regular maintenance as explained above.
Or can I tell the client that database maintenance is done?
- maintenance is not a one time thing but a regular process. We are not clear what your client is looking for - there was also the question about archiving, which has been done.
Just wanted to know suggestions
ASKER
Thanks to all
ASKER
He wants to delete all his old emails by archiving. What is the best practice