<

Exchange 2019 - Move your Transport Database with PowerShell

Posted on
6,042 Points
42 Views
Last Modified:
Published
Experience Level: Advanced
4:25
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
Azure OpenAI service, a cloud-based service offered by Microsoft, has recently been made generally available to the public, providing developers with access to large advanced AI models.
In Exchange Server, we have the option to use Public Folders to store emails and other data, instead of keeping them in our mailboxes. This article tells you how to migrate public folder contacts to Microsoft 365.

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month