Move exchange 2007 mailboxes from one DB to another DB
I'm looking for a powershell command to bulk move mailboxes in Exchange 2007. I want to move them from one store DB to another on the same server. I simply want to do this to perform a defrag without completely taking the stores offline. We had just implemented a policy that purged over half the email. I would like to do this without having to use a .csv file. I would guess there is a way to do a get-mailbox from one store and then pipe that in the move mailbox command to the new store.