troubleshooting Question

Exchange contact export failing

Avatar of danbrown_
danbrown_Flag for United States of America asked on
PowershellExchangeOutlookWindows OS
8 Comments1 Solution84 ViewsLast Modified:
Hello Experts - I made a post yesterday asking about the syntax for exporting Outlook contacts from an Exchange 2010 server limited by a date range.  I thought I had it since the command ran without errors but the output has no data so I closed it too soon.  Here is the command I'm running:

New-MailboxExportRequest -ContentFilter {(Received -lt '01/01/2019') -and (Received -gt '02/06/2019')} -Mailbox -IncludeFolders "#Contacts#" -excludedumpster -filepath \\server\c$\contacts\user.pst

This returns a 256KB PST file which is empty regardless of the date range or user I am running it against.  Do I have this setup right?  Maybe something that only works in later versions of Exchange?
timgreen7077Exchange Engineer
Join our community to see this answer!
Unlock 1 Answer and 8 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 8 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