Export contacts from Mailbox Exchange 2007

I'm trying to write a powershell script to export contacts from a Mailbox on Exchange 2007

Does anyone have any example I can use?
pbradenAsked:
Who is Participating?
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.

arrorynCommented:
Do you want to export them to PST? I don't think this is possible to do with the PS available to Exchange 2007.

I know it can be done in Exchange 2010, and you can find a useful site and code here

However AFAIK you can only use PS to export contacts from one mailbox to another, where the other has appropriate access. If it's possible, then a script created using this basic line may work for you:

Export-Mailbox user1 -IncludeFolders '\Contacts' -PSTFolderPath C:\PSTFiles\user1contacts.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
PostmasterCommented:
Export mailbox folder to PST DOES work for 2007 if SP1 or later is installed.
http://technet.microsoft.com/en-us/library/bb266964(v=exchg.80).aspx
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.