• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 339
  • Last Modified:

Exchange 2010 Import/Export Data directly to/from a Mailbox

In Exchange 2010 SP1 is it possible to Import/Export Data directly to/from a Mailbox?

Not to/from a *.pst file.

if yes, can you provide sample Powershell Command?
0
lakhvir
Asked:
lakhvir
  • 4
  • 3
  • 2
  • +1
1 Solution
 
davorinCommented:
It you intend to move certain mails/folders from mailbox A to mailbox B, then the answer is no. At least I'm not aware of (or I can't remember at the moment).
One option is that you add a user full permissions to both mailboxes, that user connects both mailboxes (or accounts if outlook 2010) in outlook and simply move needed data from one mailbox to other.

0
 
Neil RussellTechnical Development LeadCommented:
No you can not, there is no way to do that from an administrative point of view. As suguested, IF you dont want to export the mailbox to PST then you just need an account that can access both mailboxes at the same time. Then you can drag and drop between mailboxes.
0
 
Jamie McKillopIT ManagerCommented:
Hello,

This is most definately possible. You use the Export-Mailbox powershell command. For example, to copy messages from the Sent items folder of one mailbox to another:

Export-Mailbox -Identity <MailboxIdParameter> -IncludeFolders '\Sent Items' -TargetFolder '\Sent Items' -TargetMailbox <MailboxIdParameter>

JJ
0
Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

 
lakhvirAuthor Commented:
Thanks JJ.

Will Export-Mailbox command work on Exchange 2010 SP1?
0
 
davorinCommented:
Yes, export-mailbox command works on exchange 2007 and 2010.
But until now I have only seen references to use with pst files.
It seems jjmck is right.
http://technet.microsoft.com/en-us/library/bb266964(EXCHG.80).aspx
0
 
lakhvirAuthor Commented:
As far I know Export-Mailbox is not a Exchange 2010 command.
0
 
Jamie McKillopIT ManagerCommented:
To get the command to work with Exchange 2010, you must have Outlook 2010 x64 install on the workstation you are running the command on.

JJ
0
 
davorinCommented:
God, I'm so confused...It is better that today I stop posing comments.

Export-Mailbox on exchange 2010 was replaced by New-MailboxExportRequest on exchange 2010 SP1
http://technet.microsoft.com/en-us/library/ee633455.aspx

But again, I can not find any reference that export/import it is possible without using pst file.
0
 
Jamie McKillopIT ManagerCommented:
Oh, I didn't notice he was running SP1.

In that case, just create a powershell script that runs New-MailboxExporRequest to export the data to a PST then runs New-MailboxImportRequest to import the data from the PST to the other mailbox, then have the script delete the PST file. You can now run these commends directly on the Exchange server.

JJ
0
 
Neil RussellTechnical Development LeadCommented:
WE ALL KNOW THAT!!

The question was to NOT use a PST.  And the answer is STILL NO.
0
 
Jamie McKillopIT ManagerCommented:
Chill out dude.

Yes, you need to use a PST but maybe he wasn't aware you could script the process to make it transparent. At then end of the day, why does it matter that a PST is used during the transfer process?

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

Join & Write a Comment

Featured Post

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.

  • 4
  • 3
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now