Link to home
Start Free TrialLog in
Avatar of happyexchange
happyexchange

asked on

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
Avatar of Glen Knight
Glen Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

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.
Avatar of happyexchange
happyexchange

ASKER

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.  
I am not sure I understand your last post?
Whats the best way to export all users from exchange.  Then i can send you the spreadsheet tomorrow morning if you like
ASKER CERTIFIED SOLUTION
Avatar of Glen Knight
Glen Knight
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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?
Yes, sorry
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