Moving Log and Database Files
Moving Logs
From the Exchange Management Console (EMC), locate the Storage Group you would like to move the log files for. Either right-click on the Storage group and choose "Move Storage Group" or left-click and choose "Move Storage Group..." from the Action pane. This will open a wizard for you to select the new log and system file location. To do the same from the Exchange Management Shell (EMS), To move your log and system files you would type:
Move-StorageGroupPath -identity SERVER\Name of the StorageGroup -LogFolderPath X:\PathToLogFiles -SystemFolderPath X:\SystemFolderPath
Moving Databases
From the Exchange Management Console (EMC), locate the Storage Group you would like to move the log files for. Either right-click on the database and choose "Move Database files" or left-click and choose "Move Database files..." from the Action pane. This will open a wizard for you to select the new file location. To do the same from the Exchange Management Shell (EMS), To move your log and system files you would type:
Move-DatabasePath Server\StorageGroup\MailboxStore -EDBFilePath X:\PathToDatabase
|