Requirement to move logs to own drive

%3CLINGO-SUB%20id%3D%22lingo-sub-3070417%22%20slang%3D%22en-US%22%3ERequirement%20to%20move%20logs%20to%20own%20drive%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3070417%22%20slang%3D%22en-US%22%3E%3CP%3EExchange%20Version%3A%26nbsp%3B%20Exchange%202016%3C%2FP%3E%3CP%3EWindows%20Version%3A%26nbsp%3B%20Windows%20Server%202016%3C%2FP%3E%3CP%3EIssue%3A%20I%20need%20to%20move%20all%20logs%20from%20E%20drive%20to%20F%3A%26nbsp%3B%20Drive%3C%2FP%3E%3CP%3EI%20moved%20every%20log%20with%20the%20GUI%20and%20cannot%20find%20a%20Powershell%20command%20to%20move%20I%20have%20created%20the%20F%3A%20Drive.%20I%20went%20in%20too%20the%20Web%20Interface%20and%20moved%20the%20main%20logs%20to%20that%20drive%20(from%20the%20E%3A%20drive).%20However%2C%20how%20do%20I%20move%20the%20ones%20I%20have%20on%20C%3A%20Drive%20to%20(MSExchangeHMRecovery%2C%20MSExchangeHMWorker).%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3070417%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3E2016%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%20Server%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
New 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?