tomfontanilla
asked on
Move exchange 2007 mailboxes from one DB to another DB on different Exchange server
I'm looking for a powershell command to bulk move mailboxes in Exchange 2007. I want to move them from one server "DB" to my new Exchange server "DB".
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Get-Mailbox -database "Server name\Storage Group\DB01" | Move-Mailbox -TargetDatabase "Target Server\Storage Group\DB02" -MaxThreads 10
ASKER
Looks good, I will try this tonight.
ASKER
Can you please cofirm this.
Get-Mailbox -database "server\Small Companies\Small Companies_DB" | Move-Mailbox –identity "username"-TargetDatabase "Target server\Capacity Covergae Small Companies\Small Companies" -MaxThreads 10
Get-Mailbox -database "server\Small Companies\Small Companies_DB" | Move-Mailbox –identity "username"-TargetDatabase "Target server\Capacity Covergae Small Companies\Small Companies" -MaxThreads 10
If you want to move all mailboxes from one DB to another then you don't have to specify –identity "username" in command..
Get-Mailbox -database "server\Small Companies\Small Companies_DB" | Move-Mailbox -TargetDatabase "Target server\Capacity Covergae Small Companies\Small Companies" -MaxThreads 10
ASKER
Great Response
ASKER