Solved

export-mailbox in exchange

Posted on 2008-10-09
4
1,352 Views
Last Modified: 2012-06-27
I am trying to export a user mailbox to a PST file but I am running in to an error:

I am running this as "Administrator" and I have granted full access to the mailbox as outlined in:
http://technet.microsoft.com/en-us/library/bb266964(EXCHG.80).aspx

When I run the 'export-mailbox' command I am getting an error:

[PS] J:\>export-mailbox -Identity username -PSTFolderPath j:\username.pst
WARNING: An unexpected error has occurred and debug information is being
generated: Could not load file or assembly 'Interop.Migbase, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.

An error has occurred that was not properly handled. Additional information is
shown below. The Windows PowerShell process will exit.
Export-Mailbox : Could not load file or assembly 'Interop.Migbase, Version=8.0.0.0,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
The system cannot find the file specified.
At line:1 char:15
+ export-mailbox  <<<< -Identity username -PSTFolderPath j:\username.pst

I had initially thought that it wasnt' finding the command so I just ran export-mailbox  and got the following:
[PS] C:\Documents and Settings\Administrator.domain>export-mailbox

cmdlet export-mailbox at command pipeline position 1
Supply values for the following parameters:
Identity: mwaddell
If you are not exporting to a target mailbox folder or a .pst file, you must sp
ecify either parameter -DeleteContent or parameter -DeleteAssociatedMessages.
At line:1 char:1
+ e <<<< xport-mailbox

so it is finding the export-mailbox command so I don't know what the problem is.

I am runing 2007 sp1

[PS] C:\Documents and Settings\Administrator.domain>get-exchangeserver

Name                Site                 ServerRole  Edition     AdminDisplayVersion
----                ----                 ----------  -------     -------------------
EXCHANGE07       Atlanta              Mailbox,... Standard    Version 8.1 (Bui...
0
Comment
Question by:brittonv
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
BSonPosh earned 500 total points
Comment Utility
Can you try this? I would be curious if it gives the same error

Get-Mailbox UserName | export-mailbox -PSTFolderPath j:\username.pst
0
 
LVL 8

Author Comment

by:brittonv
Comment Utility
Here is the output:
[PS] C:\Documents and Settings\Administrator.domain>get-mailbox userl | export-mailbox -pstfolderpath j:\user.pst
WARNING: An unexpected error has occurred and debug information is being generated: Could not load file or assembly 'Interop.Migbase,
Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
Export-Mailbox : Could not load file or assembly 'Interop.Migbase, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of
encies. The system cannot find the file specified.
At line:1 char:38
+ get-mailbox user | export-mailbox  <<<< -pstfolderpath j:\user.pst
0
 
LVL 18

Expert Comment

by:BSonPosh
Comment Utility
That, in my mind, indicates a bug. I would open a case with MS
0
 

Expert Comment

by:1stopit
Comment Utility
I've had a similar problem (same error message) when moving mailboxes from one Ex2k7 server to another.

I got round it by performing the move from server hosting the databases where the maiboxes were stored rather than from the destintion server.

So I'd suggest you login to the console of the server which hosts the database from which you want to export the mailbox and try again.

Hope that helps.
0

Featured Post

Do email signature updates give you a headache?

Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

Join & Write a Comment

We are happy to announce a brand new addition to our line of acclaimed email signature management products – CodeTwo Email Signatures for Office 365.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

763 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now