troubleshooting Question

Retrieving emails from specific sender ...

Avatar of reirembar
reirembar asked on
Microsoft Applications
3 Comments1 Solution220 ViewsLast Modified:
Hi,

I need to get copies of all the email sent to or received from an specific recipient/sender outside of our organization. We have one Domain Controller (Windows Server 2k3) and Exchange Server 2k7.
When I run the following powershell command:

E:\>get-mailbox -"general mailbox database" | export-mailbox -subjectkeywords "adamsmith@mydomain.com" -targetmailbox "myownmailbox" -targetfolder "exportfolder"

I get back:

Get-mailbox : The operation could not be performed because object 'general mailbox database' could not be found on domain controller XXXXX at line ..........

Could someone help me  with this?
ASKER CERTIFIED SOLUTION
Manpreet SIngh Khatra
Solutions Architect, Project Lead
Join our community to see this answer!
Unlock 1 Answer and 3 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros