Solved

export-mailbox in exchange

Posted on 2008-10-09
4
1,366 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
BSonPosh earned 500 total points
ID: 22679836
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
ID: 22680561
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
ID: 22689292
That, in my mind, indicates a bug. I would open a case with MS
0
 

Expert Comment

by:1stopit
ID: 22935240
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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
To show how to generate a certificate request 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 >> Certificates…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

738 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