Move Exchange Server 2016 or 2013 mailbox database and logs to another drive By Mariette Knap EdbFilePath, LogFolderPath, Move Databasepath One of the things you should always check is that you have enough place to start a migration from an older Exchange Server version to Exchange Server 2013 or 2016. It is considered best practice to have Exchange Database and Logs not on the partition where the Exchange binaries are stored, most of the cases this is also the system partition. In my lab setup I have added two drives and set them to D: and E:. I labeled D as Exchange Database and E as Exchange Logs. From the Start Menu start an elevated Exchange Management Shell. Type Start-Transcript c:\Move-Mailbox.txt or any name you want to use. What happens is that all output is written to that file and we will use that to create the actual Move-DataBasePath command later on. Start-Transcript c:\Move-Mailbox.txt With Get-MailboxDatabase | FL Name,EdbFilePath,LogFolderPath we can see where that database and logfiles are stored. In our case this is on the System drive and we want to change that. Get-MailboxDatabase | FL Name,EdbFilePath,LogFolderPath Type Stop-Transcript to stop recording. The Output is saved to the file you defined. Stop-Transcript Type notepad.exe c:\move-mailbox.txt notepad.exe c:\move-mailbox.txt The transcript opened with the Output of Get-Mailbox. We can now use this and copy and paste stuff when we build our Move-DataBasePath command. I have build my Move-Databasepath command using copy and paste from the output of Get-MailboxDatabase and I set the –EdbFilepath to the same path as the original but to drive D: and I changed –LogFolderpath to E:. You don’t need to create that folder structure as this is done when you run the Move-Databasepath command. You can also use some other path if you wish, it is up to you but I always stick to this method. With Move-Databasepath we will set a new –EdbFilepath for the Database and with –LogFolderpath for the Log files. Hit [A] twice for All. Move-Databasepath "Mailbox Database 0708098983" -EdbFilepath "D:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 0708098983\Mailbox Database 0708098983.edb" -LogFolderpath "E:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 0708098983" After the Move has been completed we can check with Get-MailboxDatabase | FL Name,EdbFilePath,LogFolderPath the new locations. Get-MailboxDatabase | FL Name,EdbFilePath,LogFolderPath