[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

export contacts to pst powershell

Posted on 2015-01-16
3
Medium Priority
?
6,743 Views
Last Modified: 2015-01-28
need to export contacts to pst cant do it from outlook because of legal reasons
0
Comment
Question by:Jorge Ocampo
  • 2
3 Comments
 
LVL 10

Assisted Solution

by:nashiooka
nashiooka earned 1332 total points
ID: 40554591
I'm writing this off the top of my head but it should be enough to get you through it.

If you are using Exchange 2010:
1) Make sure you have RBAC access to the "Mailbox Import Export" role.  You can do this using the GetManagementRoleAssignment -Role "Mailbox Import Export"

If you don't have access you'll have to add a role assignment:
New-ManagementRoleAssignment -Role "Mailbox Import Export" -User <UserName>

Reload your EMS then use

New-MailboxExportRequest <UserName> -FilePath <MustBeUNC&IncludeTheFileName.pst> -IncludeFolders "contacts/"

You can user Get-MailboxExportRequest and Get-MailboxExportRequestStatistics to check the status.

Exchange 2007:
You need full access to the mailbox: Add-MailboxPermission -Identity <UserToExport> -User <YourUserName> -AccessRights FullAccess

Then
Export-Mailbox -Identity <MailboxIdParameter> -IncludeFolders '\contacts' -PSTFolderPath <Path\PSTFileName>

Exchange 2003 Use ExMerge, which is GUI and hard to document here.
0
 
LVL 8

Accepted Solution

by:
tshearon earned 668 total points
ID: 40554593
Use the Exchange Management shell and run:

New-MailboxExportRequest -Mailbox <username> -IncludeFolders "#Contacts#" -excludedumpster -filepath \\server\share\filename.pst

If you want the recoverable items folder then leave remve the -excludedumpster switch.
0
 
LVL 10

Assisted Solution

by:nashiooka
nashiooka earned 1332 total points
ID: 40554598
Basically the same command but #Contacts# is the culture neutral syntax.  I might add that in either case if you want subfolders it should be "#Contacts#/*" or "Contacts/*" whichever should work.  If you look very closely at the help file for New-MailboxExportRequest it will detail this a bit in the explanation fir include / exclude folder parameters.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Measuring Server's processing rate with a simple powershell command. The differences in processing rate also was recorded in different use-cases, when a server in free and busy states.
If you have come across a situation where you need to find some EDB mailbox recovery techniques, then here you will find the same. In this article, we will take you through three techniques using which you will be able to perform EDB recovery. You …
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question