Requirement to move logs to own drive

Copper Contributor

Exchange Version:  Exchange 2016

Windows Version:  Windows Server 2016

Issue: I need to move all logs from E drive to F:  Drive

I moved every log with the GUI and cannot find a Powershell command to move I have created the F: Drive. I went in too the Web Interface and moved the main logs to that drive (from the E: drive). However, how do I move the ones I have on C: Drive to (MSExchangeHMRecovery, MSExchangeHMWorker).

2 Replies
Hi @WinstonSmith1984
use:
Move-Item -Path C:\Temp -Destination C:\Logs

See also:
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.management/move-item?view=po...

Best regards,
Schnittlauch

"First, No system is safe. Second, Aim for the impossible. Third, no Backup, no Mercy" - Schnittlauch

My answer helped you? Don't forget to leave a like. Also mark the answer as solved when your problem is solved. 🙂

@Schnittlauch  I used that command and all it did was physically move the files. 

 

How can I get the filed to permanently move from:

C:\Program Files\Microsoft\Exchange Server\V15\Logging\Monitoring\Monitoring\MSExchangeHMWorker\ActiveMonitoringTraceLogs
C:\Program Files\Microsoft\Exchange Server\V15\Logging\Monitoring\Monitoring\MSExchangeHMRecovery\ActiveMonitoringTraceLogs

to the F drive?