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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Glen KnightCommented:
I am not sure I understand your last post?
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.