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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

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

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
MikeIT ManagerCommented:
0
Thomas GrassiSystems AdministratorCommented:
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

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
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
Active Directory

From novice to tech pro — start learning today.