Easiest way to extract certian emails from exchange 2013 database

I think I had this question here before but we need to extract emails from our exchange 2013 database but the logs are set for 30 days. So I need to get the emails for a  certain user outside of our organization that have sent to our organization.
So what is the best way to do this?
LVL 1
vmichAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ChrisSenior Technical ArchitectCommented:
If you only have exchange tools to hand i.e. no 3rd party software then Search-mailbox function is your best plan
you can use it to search all mailboxes and remove the mail items

here is the technet article for using it
https://technet.microsoft.com/en-GB/library/ff459253(v=exchg.150).aspx

or a fairly concise blog article
https://www.codetwo.com/admins-blog/how-to-delete-email-from-mailboxes-on-exchange-2016-2013-2010-online/

if you have specifics you are stuck on then give a bit more details and i can put a command together
0
vmichAuthor Commented:
Chris,
Ok I need to gather emails sent to and received from 1/1/2016 to present to a certain external domain.
0
Marshal HubsEmail ConsultantCommented:
Stellar EDB to PST Converter can help you in this case. The software can extract certain emails from exchange 2013 database to PST in few simple steps. You can search for specific emails based on your criteria such as ‘To’, ‘From’, ‘Cc’, ‘Subject’, ‘Body’, date etc. For more information, please check this link: https://www.stellarinfo.com/email-repair/edb-pst-converter.php 15.jpg
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

AlanConsultantCommented:
Hi Vmich,

You can do this easily from PowerShell using a command like this:

Search-Mailbox -Identity "FirstName LastName" -SearchQuery 'From:sendername@example.com Subject:"Test1 Test2 Test3" sent:01/01/2016..01/01/2018' -TargetMailbox "Search Mailbox" -TargetFolder "Search Folder" -LogLevel Full

Open in new window



Alan.
1
ChrisSenior Technical ArchitectCommented:
Only one addition i would make to that, on the assumption you want to search all mailboxes

add this in front of the command Alan has given

Get-Mailbox  -ResultSize Unlimited |
1
Sandeep KumarAssociate ConsultantCommented:
It can be done by PowerShell command but one should be aware with it. Further to extract emails from that specific user within specified from Exchange server 2013 database file. Look into https://www.experts-exchange.com/articles/31049/Export-Exchange-2013-EDB-Mailbox-to-PST.html where one method is explained.
Else if you have the Exchange 2013 database file, then you can directly export emails of user to PST by using Kernel for EDB to PST Converter tool. Visit https://www.nucleustechnologies.com/edb-to-pst.html to know more about the software and process.
0
vmichAuthor Commented:
I got the issue resolved via Digi Scope product
0
AlanConsultantCommented:
Hi Vmich,

If you already had that product installed, then fair enough, but for what its worth, I would never install any third party software on an Exchange Server, and especially not something that replicates functionality that is already built in.

However, glad to hear you got it resolved.  


Alan.
0
vmichAuthor Commented:
Well we had no choice Alan because with the logs being set at 30 days. we were not able to create any pst files from it further back than 30 days.
Is there a way to do this or is 30 days the furthest we can go back because of the logs?
0
AlanConsultantCommented:
Are you saying that the above built-in command did not work?

I was really only posting here so that others that may follow are not installing unnecessary software on their servers.

If you had already paid out the cash and installed the software, your situation was already

Thanks,

Alan.
0
vmichAuthor Commented:
Alan,
I guess I am confused on this..
I needed to be able to extract emails from the dbs for a period from 1-1-2016 to present. So I thought that I could not since our exchange logs were set to 30 days.
Is there a way that I can get this data to a PST file from exchange for the time period I mentioned and if so, how do I do that?
Thanks
0
vmichAuthor Commented:
I need to reassign this to one of the other authors not to myself
Thanks
0
vmichAuthor Commented:
Used 3rd party tool
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.