Normally you would right click on an Exchange 2010 Mailbox Database and then click “Move Database Path”. However sometimes this times out or it goes really slow.
There is a solution!! Dismount the mailbox store, then move it to the new destination, then use the command below :-
Move-DatabasePath -Identity "Mailbox Database Name" -EdbFilePath "Path and Filename of EDB in here" -LogFolderPath "Log File Path in Here" -Configurationonly
A real world example is shown below
Move-DatabasePath -Identity 'M-N Mailboxes' -EdbFilePath 'L:\M-N\M-N Mailboxes.edb' -LogFolderPath 'D:\Logs\M-N Mailboxes' -Configurationonly