Solved

Powershell script for Bulk Mailbox movement in Exchange 2007

Posted on 2011-09-24
9
479 Views
Last Modified: 2012-05-12
Hi,

Can i get Powershell script for Bulk Mailbox movement from one exchange 2007 mailbox server to other Exchange 2007 Mailbox Server in Same Exchange organization
0
Comment
Question by:Kartik2011
  • 4
  • 3
  • 2
9 Comments
 
LVL 13

Expert Comment

by:5g6tdcv4
Comment Utility
Get-Mailbox –Database “servername\First Storage Group\sg1” | Move-Mailbox –TargetDatabase “servername\First Storage Group\sg2'
0
 
LVL 49

Expert Comment

by:Akhater
Comment Utility
more likely

get-mailbox -server ServerToRemove | move-mailbox -TargetDatabase  “ServerToAdd\First Storage Group\MailboxDatabase"
0
 

Author Comment

by:Kartik2011
Comment Utility
Well i think the commands given will move all the mailbox in particular database. But i want to move some of the mailboxes not all for eg:- want to move 30 outoff 50 mailbox from Exchange database SG1 to Exchange database SG2 can anyone help me on this
0
 
LVL 13

Accepted Solution

by:
5g6tdcv4 earned 100 total points
Comment Utility

create a txt file with you users then run,
Get-Content C:\users.txt | Move-Mailbox -TargetDatabase  “destservername\First Storage Group\sg2' -Confirm:$false
0
Shouldn't all users have the same email signature?

You wouldn't let your users design their own business cards, would you? So, why do you let them design their own email signatures? Think of the damage they could be doing to your brand reputation! Choose the easy way to manage set up and add email signatures for all users.

 
LVL 49

Assisted Solution

by:Akhater
Akhater earned 25 total points
Comment Utility
Simply use the result size parameter, the below will move 30 mailboxes for example

get-mailbox -server ServerToRemove -resultsize 30 | move-mailbox -TargetDatabase  “ServerToAdd\First Storage Group\MailboxDatabase"
0
 

Author Comment

by:Kartik2011
Comment Utility
Hi,

Please let me know hoe the content of txt filr should be. i mean what ad attribute we have use and in what format.
Also can we use csv file if yes how its format should be.
0
 
LVL 13

Expert Comment

by:5g6tdcv4
Comment Utility
Just the username
0
 
LVL 13

Assisted Solution

by:5g6tdcv4
5g6tdcv4 earned 100 total points
Comment Utility
BElliot
EEvans
JKarcher
LYang


thats the format for the text file
0
 

Author Closing Comment

by:Kartik2011
Comment Utility
Well answer was not complete with all details
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a User Mailbox 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 >> Mailb…
In this video we show how to create a Shared Mailbox 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 >> Sha…

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now