Note
The content on this Wiki page was migrated from the old Exchangeninjas.com Wiki.

 

Feel free to post any questions related to Exchange or this site here. Of course, if you know the answer to a question please post it as everyone will benefit from your knowledge.


Q: Why is "Out Of Office" called an "OOF" and not an "OOO" ?

A: The answer is posted on the Exchange team blog at http://msexchangeteam.com/archive/2004/07/12/180899.aspx.

Q: How do I move 5000 mailboxes (users named user1...user5000) from one mailbox database to another ?

A: Try one of the following one-liners in PowerShell:

1..5000 | foreach { get-mailbox "user$_" | move-mailbox -targetdatabase targetdbname -confirm:$false  }

or

get-mailbox -filter { Name -like 'user*' } -resultsize Unlimited | move-mailbox -targetdatabase targetdbname -confirm:$false

This is a little more efficient because it uses server side filtering and the multithreaded support in move-mailbox


See Also