<

Exchange 2016:- Move Transport database with PowerShell

Posted on
6,266 Points
166 Views
1 Endorsement
Last Modified:
Published
Experience Level: Intermediate
4:16
Edward van Biljon (MVP)
Experienced Messaging Specialist with a demonstrated history of working in the information technology and services industry.
In this video we show you how to run the PS script to move the transport database and then the commands to move the logging directories.

Video Steps

1. Launch the Exchange Management Shell (EMS)

Click on the start button and expand Microsoft Exchange 2016 and right click on Exchange Management Shell and run as admininistrator.

2. Run command

Run the following commmand to move the Transport Database: .\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 .

3. Run the 2nd command

Run the next command: Set-TransportService –identity exchange-2019 -ConnectivityLogPath "E:\TransportLogs\Connectivity".

4. Run the 3rd command

Run the next command: Set-TransportService –identity exchange-2019 -ReceiveProtocolLogPath "E:\TransportLogs\ProtocolLog\SmtpReceive".

5. Run the 4th command

Run the next command: Set-TransportService –identity exchange-2019 -SendProtocolLogPath "E:\TransportLogs\ProtocolLog\SmtpSend".

6. Run the 5th command

Run the next command: Set-TransportService –identity exchange-2019 -MessageTrackingLogPath "E:\TransportLogs\MessageTracking".

7. Run the 6th command

Run the next command: Set-TransportService –identity exchange-2019 -RoutingTableLogPath "E:\TransportLogs\Routing".

8. Run the 7th command

Run the next command: Set-TransportService –identity exchange-2019 -PipelineTracingPath "E:\TransportLogs\PipelineTracing".
1
0 Comments
The following article will helps you reseed the failed  database copy
Having trouble connecting to MySQL? Getting the dreaded "Access denied for user ... (using password: YES)" message? This article will help you understand the authentication steps and where to look in your troubleshooting efforts.