Script to switch mailboxes


I am currently switching the mailboxes manually. I find the users in the MMEX console, right click and switch. This works for small migration batches but we are getting to migrating 50 mailboxes and more per day. For that the manual process is cumbersome.

Can I run the 50 users through a script that does the switch?

I took a look at the MMEX cmdlets and couldnt see anything that looked like mailbox switching.

Alternatively: If I could get the daily batch of users into 1 sync collection i can just highlight them in the console and switch. Sadly my collections are not reflecting my migration batches. Is there a way to move a list of users into 1 collection? I tried an LDAP group but that only seems to work for users who have not been in a sync collection before. The other ones just stay in their collection.

Please let me know of any ideas how i can simplify my process.

Best regards,