My company recently had an issue with our old AD/Exchange 2003 server and had to restore from a backup which turned out to be quite a project. We also run Exchange 2007 on another server and had about half the company moved to the new server when this happened. We restored the old server and moved all the mailboxes to the new server leaving AD on the old server. Now when people try to access their mailbox using OWA they get an error that the mailbox is not accessable. The solution is to run the following commands from the command line for each mailbox.
Get-Mailbox | format-list ExchangeVersion
Set-Mailbox -ApplyMandatoryProperties
Since we’re dealing with 159 mailboxes is there any way to make this do all of them at once?
Any help would be appreciated.