Summary: Use Windows PowerShell to find the path to the Exchange mailbox databases.
How can I find the path to the Exchange mailbox database on my Exchange Server?
Use the Get-MailboxDatabase cmdlet, and select the EdbFilePath property, as shown here.
Get-MailboxDatabase -Status | select edbfilepath