move mailbox with conditional - from one store to another store
Posted on 2012-03-09
Hi - exchange power shell experts,
I have a questions about move mailbox from one store to another store on a same server.
i know we can use:
get-mailbox -database "DB1" | move-mailbox -targetdatabase "DB2" –MaxThreads 4
this will move all mailbox in DB1 to DB2.
we have a large DB1 and i have to break it into 2-3 small DBs in different SGs.
I could not just move everything at once and there are over thousands of mailboxes as well.
is there a way to move them by size group.
like 0-100MB, 101-200MB...
Thanks a lot!