Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 67
  • Last Modified:

How to copy a selection of mailboxes in exchange 2013 to external hardrive?

Hi all,
Can you help? I'd like to copy a selection of mailboxes from exchange 2013 to an external hard drive can anyone help?
thank you in advance
0
MarK PercY
Asked:
MarK PercY
1 Solution
 
IvanSystem EngineerCommented:
Hi,

best thing to do would be to export data from mailbox to .pst file, since you cannot just copy mailbox, as it is located inside a database.

To export data to .pst, directly from server, run command from Exchange shell:
New-MailboxExportRequest -Mailbox <username> -FilePath "\\ServerName\SomeName.pst"

Regards,
Ivan.
1
 
Schnell SolutionsSystems Infrastructure EngineerCommented:
You can use the command New-MailboxExportRequest and specify that you want to save your mailboxes as .pst in a network share.

You can see the entire process here (As far as it requires permission assignment and other prerequisites):
https://www.stellarinfo.com/blog/how-to-export-exmailboxes-to-pst/
2
 
Britt ThompsonSr. Systems EngineerCommented:
Using the New-MailboxExportRequest cmdlet you can export a set of chosen mailboxes to PST on the external drive.

https://technet.microsoft.com/en-us/library/ff607299(v=exchg.150).aspx

If you use something like -

$Mailboxes = Get-Mailbox -OrganizationalUnit Users

You can loop through the mailboxes to generate the export request for each one -

foreach($M in $Mailboxes){ New-MailboxExportRequest $M ... }
1
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
Todd NelsonSystems EngineerCommented:
Yep.  Use the New-MailboxExportRequest command.  You can be as broad or as granular as you need.

Alternately, if you prefer self-induced pain, there is always the option of performing an export through Outlook.

Here are some good references...
1
 
Schnell SolutionsSystems Infrastructure EngineerCommented:
In summary, there are three steps involved in your request.

1. Assign permission to an account (Let's say that you want to use account Admin04 to export the data).

New-ManagementRoleAssignment -Role "Mailbox Import Request"-user admin04

2. Export the data to a pst (Assuming that you want to export the data from a mailbox called Bob, and you have a file server where you can write on \\server1\PSTs):

New-MailboxExportRequest -Mailbox User1 -FilePath \\Server1\PSTs\user1.pst

3. Optional: Automatize the process. You can filter the data using a LOOP like renazonse recommended, or use a previous filter with a get command and pipeline the output (Here the example will depend about how to identify your users).
0
 
bobluisCommented:
PST is the easiest way to do it. Wondering to know if there is another method as easier.
0
 
MarK PercYAuthor Commented:
I thought schnellsolutions solution was very well detailed & very accurate thank you
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

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now