Creating mailbox batches for Exchange Online migrations

In planning to migrate to Office 365 (Exchange Online)
is there a script available to export all the mailboxes from exchange to CSV along with who has permissions to each mailbox so that some kind of batch process could be created making sure that all users are migrated along with the mailboxes they have access to? Someone has to have done this... Id think, no?
Please help and thank you,
Christian HansUndecided... Asked:
Who is Participating?
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.

Ibrahim BennaTechnology LeadCommented:
There is a script available here ( that you can use. Once you run it and get the output,  you will still need to do some work on figuring out the order. I have seen clients use Excel Pivot tables and such to get a working output but it needs some massaging to get it correct.
Vasil Michev (MVP)Commented:
The guys at FastTrack used to have a very robust script that enumerates all "dependencies" and spills out a report that you can use to prepare the batches. I'm not sure if we are allowed to redistribute it, but you can probably find some copies on the internet. Or you can just contact the FastTrack team and ask them for help on this :)

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

From novice to tech pro — start learning today.