Moving Transport Queue Database and Logging Path on Exchange 2010
Exchange installation will set the Exchange Server Transport Queue database and Logging path inside the installation directory by default. Many times due to various reasons we change the location of Transport queue database and logging into another drive.
Use the Powershell Script Move-TransportDatabase.ps1
open exchange powershell
browse to c:\program files\microsoft\exchange\v14\scripts
1. Move the Queue Database Path by running the below cmdlet,
.\Move-TransportDatabase.ps1 -queueDatabasePath:”D:\ExchangeDatabases\TrasportQueue”
2. Move the Queue Database Logging Path by executing the below cmdlet,
.\Move-TransportDatabase.ps1 -queueDatabaseLoggingPath:”D:\ExchangeDatabases\TrasportQueue”