How to Export Exchange Contacts to PST or CSV File Formats?

In this article we will discuss ‘how to export exchange contacts to PST or CSV’. Now days, most of users find it difficult to export Exchange Database (EDB) files data items such as contacts into the PST file format. The major reason for doing this is to recover data from corrupted and damaged EDB files and access them in Outlook. Moreover, users are able to access the Exchange contacts in the absence of the Exchange Server. Therefore, it becomes a common query of Exchange server users that How to export contacts to PST using powershell commands in Exchange 2007, 2010, 2013. Now, the question arises how to copy contacts to PST using Powershell? What all are the commands that should be executed. Therefore, in this post, all possible solutions to export Exchange 2013 contacts to PST and for below versions of Exchange Server such as 2010 and 2007, using Powershell are discussed.
export exchange contacts to pst or csv
Moreover, Exchange Server 2007 and all above support some Powershell cmdlets to global address book to PST or CSV. There is some further enhancement also made to these cmdlets in Exchange 2013 that have improved the performance while exporting Exchange contacts.

Need to Export Exchange Contacts to PST

Nowadays, the most common query asked by the user is how to extract Exchange contacts to PST. In this section, why there is need to export contacts to PST using powershell commands is discussed:

  1. The major reason, users wants to export Exchange 2007 contacts to PST is to extract contacts from damaged and corrupted files and to access them in MS Outlook.
  2. In another case, where the user wants to take backup of Exchange contacts (GAB), he needs to export them to PST and access them in a very easy way from Outlook PST PST file.

How to Export Exchange Contacts to PST Powershell

The optimal solution to extract Exchange contacts is by using Powershell commands. Now, to export global address book to excel/csv/pst a user must have the right to use import/ export role and have access to Exchange Management Shell. The commands to export contacts varies from Exchange Server version to version, which are described below:

#1 Export Exchange 2010 Contacts to PST

To move the contacts to PST, one can use the Powershell cmdlet commands, but before that he must satisfy the following requirements:

  1. The user must have the right to access to the “Mailbox Import Export” role.
  2. If the user is not having access, then to add access execute the command written below:
    New-ManagementRoleAssignment -Role “Mailbox Import Export” -User alisaWhen the user has all the rights to access the Exchange Management Shell then runs the EMS with below command:
    New-MailboxExportRequest alisa -FilePath MustBeUN&IncludeTheabc.pst -IncludeFolders “contacts”
    where:

    • alisa is the name of mailbox that you want to export
    • FilePath is the path of the Exchange EDB file containing contacts
    • abc.pst is the file where contacts will be exported

    This command will export Exchange 2010 contacts to PST using Powershell in a very efficient manner.

#2 Exchange 2007 Export Contacts to PST using Powershell

First of all a user need to have full access to the Exchange Management Shell and mailbox, if not execute the command below:
Add-MailboxPermission -Identity -User -AccessRights Full Access

After having full access to the mailbox the user can run the EMS with the following command:
Export-Mailbox -Identity -IncludeFolders ‘\contacts’ -PSTFolder_Path [Path\filename.pst]
where:

  • Mailbox is the role from where you want to export
  • MailboxIdparameter is the ID of the mailbox
  • Folder_Path is the path of the Exchange EDB contacts files
  • filename.pst is the target location where you want to store the contacts

#3 Exchange 2013 Powershell Export Contacts to PST

Now, to perform this operation, a user must satisfy the points to export global address book to Outlook which are mentioned below and then write the cmdlet command to complete the process.

  1. The Exchange 2013 contacts that are to be exported must exist.
  2. The Target PST file with its complete UNC path (abc \\PCName234\\C$\PST\ymcmail.pst) must be known.
  3. The account must have the access to the PST file network location.

If the user satisfy the above points then he can execute the Powershell cmdlet command mentioned below to export exchange 2013 contacts to PST:
New-MailboxExportRequest -Mailbox abc_name -IncludeFolders “#Contacts#” -excludedumpster -file_path\\server_name\efg\lisa.pst

  • abc_name is the mailbox which you want to export
  • server_name is the name of the server
  • efg is the name of Shared folder
  • lisa.pst is the new PST file in which you want to export the contacts from Exchange mailbox

This complete command helps users in exporting contacts to PST from Exchange server 2007, 2010, 2013.

Conclusion

This is the detailed process of export exchange contacts to PST or CSV file formats. However, the manual procedure requires execution of Powershell cmdlets commands, which are very lengthy and time-consuming to execute. The user may also requires the help from some technical expert to work with Powershell in a much convenient way to export global address book to PST. Therefore, the effortless and easy-to-use method for exporting is Exchange Export tool. This tool can extract Exchange contacts to PST format in a more reliable and perfect way.

Bookmark the permalink.

Comments are closed.