Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

export-mailbox in exchange

Posted on 2008-10-09
4
Medium Priority
?
1,378 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 2000 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

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

Are you looking for the options available for exporting EDB files to PST? You may be confused as they are different in different Exchange versions. Here, I will discuss some options available.
This month, Experts Exchange sat down with resident SQL expert, Jim Horn, for an in-depth look into the makings of a successful career in SQL.
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…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

618 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