Moving multiple users to differnt storage groups on Exchange 2007

Is there a way to crete a script so  users who i want to move from the 3rd storage to the1st storage group.  I have over 100 users to move.

Dont want  to do it one by one

Whats the best way to do this

Thank you
happyexchangeAsked:
Who is Participating?
 
Glen KnightCommented:
Sorry, we are not allowed to take communication outside of the question threads.

If you can just provide details of exactly what you want I can help?
0
 
Glen KnightCommented:
do you have a list of the users? or do they have a certain criteria that they match?

You can use powershell but I will need more information to provide the script.
0
 
happyexchangeAuthor Commented:
At the present time we need to export all users over from exchange then sort out what storage group belong to what users.  No certain criteria same as most place happy.exchange@axiseurope.com

All the managers will stay in storage 2.  
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
Glen KnightCommented:
I am not sure I understand your last post?
0
 
happyexchangeAuthor Commented:
Whats the best way to export all users from exchange.  Then i can send you the spreadsheet tomorrow morning if you like
0
 
happyexchangeAuthor Commented:
Well say happy.exchage is in storage group 3 i need to move to storage 1 on the exchange box.  now imagine i have over 100 happy.exchange from storage group 3 to 1
0
 
Glen KnightCommented:
that doesn't really make much sense because you cannot have more than one happy.exchange.

Are you saying you want to move ALL users from Storage Group 3 to Storage Group 1?
0
 
happyexchangeAuthor Commented:
Yes, sorry
0
 
Glen KnightCommented:
OK, so from the Exchange Management Shell run the following:

Get-Mailbox -Database "First Storage Group\DB01" | Move-Mailbox -TargetDatabase "First Storage Group\Mailbox Database"

Replacing the First Storage Group\DB01 with the source mailbox database and the First Storage Group\Mailbox Database with the new mailbox database.

code taken from: http://technet.microsoft.com/en-us/library/aa997961(EXCHG.80).aspx
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.

All Courses

From novice to tech pro — start learning today.