Exchange 2010 export all mail for all users

I am trying to export all the mail out of our exchange server for legal purposes.. I have tried the steps listed on the link below:

http://social.technet.microsoft.com/wiki/contents/articles/13908.bulk-export-mailboxes-to-pst-in-exchange-2010.aspx

using this command:
New-MailboxExportRequest –Mailbox “MailboxName” -FilePath \\ServerName\PST\MailboxName.pst

As an example I tried to export just one mailbox (administrator) and got these results:

[PS] C:\Windows\system32>New-MailboxExportRequest -Mailbox "administrator"  -FilePath \\cp-hyp01\CP-BACKUP4TB\CFMX01\Mai
lboxName.pst
Couldn't find the Enterprise Organization container.
    + CategoryInfo          : NotSpecified: (0:Int32) [New-MailboxExportRequest], OrgContainerNotFoundException
    + FullyQualifiedErrorId : A87ABC4C,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest

[PS] C:\Windows\system32>New-MailboxExportRequest -Mailbox administrator  -FilePath \\cp-hyp01\CP-BACKUP4TB\CFMX01\Mailb
oxName.pst
Couldn't find the Enterprise Organization container.
    + CategoryInfo          : NotSpecified: (0:Int32) [New-MailboxExportRequest], OrgContainerNotFoundException
    + FullyQualifiedErrorId : A87ABC4C,Microsoft.Exchange.Management.RecipientTasks.NewMailboxExportRequest
sullendAsked:
Who is Participating?
 
Thomas GrassiSystems AdministratorCommented:
try using this

New-MailboxExportRequest –Mailbox "yourmb" -FilePath C:\output.pst -verbose -baditemlimit 1

see what you get

who are you logged on as?  you running this from the exchange server?
0
 
MikeIT ManagerCommented:
0
 
Thomas GrassiSystems AdministratorCommented:
0
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

 
Helao MwapangashaData Centre: Server EngineerCommented:
make sure your account belongs to the enterprise group for exchange in AD. you might not have the correct permision
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
You need to make sure that your account has access to run this cmdlet.

The below command is creating a new role assignment. You then add your account to this security group and you will be able to run the command successfully.
New-ManagementRoleAssignment -Name "name" -SecurityGroup "security_group_name" -Role "Mailbox Import Export"

Open in new window


Also see the Microsoft KB article below.
https://support.microsoft.com/en-us/kb/2737545

If the above does not correct this issue it is possible that the schema was not properly extended/prepared during the installation of Exchange 2013.

Will.
0
 
Will SzymkowskiSenior Solution ArchitectCommented:
Just checking in, have you tried my suggestion?

Will.
0
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.