<

Exchange 2019 - Move your Transport Database with PowerShell

Posted on
6,008 Points
8 Views
Last Modified:
Published
Experience Level: Advanced
4:23
Edward van Biljon
Experienced Messaging Specialist with a demonstrated history of working in the information technology and services industry.
In this Exchange 2019 video, we show you how to move the Transport Database and logs to a different directory and also go through the directories to ensure they have moved across. We also show you that we have run the new commands in Exchange but also that the older commands will work as well.

Here are the PowerShell commands to be used as the final step after step 3 (Replace exchange-2019 with your server name):

Set-TransportService –identity exchange-2019 -ConnectivityLogPath "E:\TransportLogs\Connectivity"
Set-TransportService –identity exchange-2019 -ReceiveProtocolLogPath "E:\TransportLogs\ProtocolLog\SmtpReceive"
Set-TransportService –identity exchange-2019 -SendProtocolLogPath "E:\TransportLogs\ProtocolLog\SmtpSend"
Set-TransportService –identity exchange-2019 -MessageTrackingLogPath "E:\TransportLogs\MessageTracking"
Set-TransportService –identity exchange-2019 -RoutingTableLogPath "E:\TransportLogs\Routing"
Set-TransportService –identity exchange-2019 -PipelineTracingPath "E:\TransportLogs\PipelineTracing"

Video Steps

1. Open the Exchange management shell

Click on start and then expand Exchange Server 2019 and click on Exchange Management shell.

2. Change location

For the first command to work, you need to type cd\ and press enter. Next you need to navigate to "C:\Program Files\Microsoft\Exchange\V15\Scripts.

3. Type in the first commmand

Enter in the following command: .\Move-TransportDatabase.ps1 -QueueDatabasePath C:\data\Queue -QueueDatabaseLoggingPath C:\data\Queue\Logs -IPFilterDatabasePath C:\data\IPFilter -IPFilterDatabaseLoggingPath C:\data\IPFilter\Logs -temporarystoragepath C:\data\TemporaryStoragePath (Replace C:\ with the desired drive letter)
0
0 Comments
This article will help you to perform a hard match of an AD user with a cloud user when a soft match fails.
This article helps you complete a CSR (Certificate Signing Request) from Exchange from EAC (Exchange Admin Center). Applies to Exchange 2013/2016/2019.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month