Solved

Move exchange 2007 mailboxes from one DB to another DB

Posted on 2009-05-18
4
484 Views
Last Modified: 2012-05-07
I'm looking for a powershell command to bulk move mailboxes in Exchange 2007.  I want to move them from one store DB to another on the same server.  I simply want to do this to perform a defrag without completely taking the stores offline.  We had just implemented a policy that purged over half the email.  I would like to do this without having to use a .csv file.  I would guess there is a way to do a get-mailbox from one store and then pipe that in the move mailbox command to the new store.
0
Comment
Question by:ITSMA
[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
  • 3
4 Comments
 
LVL 24

Accepted Solution

by:
Rajith Enchiparambil earned 500 total points
ID: 24413852
get-mailbox -database databasename | move-mailbox -targetdataabse databasename
0
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24413869
A proper example below. Change the server, dbnames.

Get-Mailbox Database DCEXCH\First Storage Group\Mailbox Store (DCEXCH) | Move-Mailbox TargetDatabase E2K7\First Storage Group\Mailbox Database MaxThreads 10

-MaxThreads 10 will start 10 mailbox move threads (normal is 4). Max value you can ahve is 30.
0
 
LVL 1

Author Comment

by:ITSMA
ID: 24414735
Thanks.  I will give this a try hopefully tonight.  I figured it should be fairily simple, but just wasn't sure on the command.  So if I don't specify the MaxThreads will that default to 30?
0
 
LVL 24

Expert Comment

by:Rajith Enchiparambil
ID: 24414791
No, default value is 4.
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
In this video we show how to create an Address List 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 Organization >> Ad…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

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