To recover using a EDB in clean shutdown state:
1. First use the Exchange management Shell to create a recovery database.
For example, to create the Recovery Store “RecoverDB” on the server MSXGuru-Exch using the defined path for the database file and transaction logs folder:
New-MailboxDatabase -Recovery -Name RecoverDB -Server MSXGuru-Exch -EDBFilePath D:\Recovery\Database\RecoverDB.edb -LogFolderPath D:\Recovery\Logs
2. Now Right click on the newly created recovery Store and mount it.
3. Next open Shell and type the command as shown:
Get-MailboxStatistics -Database RecoverDB
This will show the list of mailboxes in that database.
4. To restore all mailboxes in the database mbx1 which are also present in the RecoverDB database, use the following command:
Get-Mailbox –Database mbx1 | Restore-Mailbox –RecoveryDatabase RecoverDB