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?
Who is Participating?
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

Export mailbox folder to PST DOES work for 2007 if SP1 or later is installed.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.