Need help with PowerShell script to export personal contacts from exchange 2010

Hello Experts - I have been working on a project to manually export personal contacts from Outlook 2010 to a csv file but I think there must be a smarter way to do this than going around to everyone's desk.  Is there a way to do this in powershell and get the same format I would doing it from Outlook manually?
danbrown_IT ManagerAsked:
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.

Michal ZiembaIT AdministratorCommented:
Hi,
In the topics, you put Exchange, so I assume you would like to extract contacts from mailboxes stored on the Exchange server, right?
If my understanding is correct, you can export content of each user's Contacts folder into a separate PST file using the following command:
New-MailboxExportRequest -Mailbox <username> -IncludeFolders "#Contacts#" -excludedumpster -filepath \\server\share\<username>.pst

Open in new window

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
danbrown_IT ManagerAuthor Commented:
Is it possible to export to CSV instead?  That is the format I need to do the import into another system.
0
danbrown_IT ManagerAuthor Commented:
This worked perfectly, thanks so much!  I will simply import the PST to my Outlook and export to CSV from there.
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
Powershell

From novice to tech pro — start learning today.