https://tdsheridanlab.com/how-to-deal-with-exchange-2013-logs/
Anhang nach c:\_scripts kopieren, dann Task erstellen
schtasks /create /sc daily /tn "Purge Exchange Logs" /tr "powershell.exe
-NoProfile -NoLogo -NonInteractive -ExecutionPolicy Bypass
-File c:\_script\exchange-log-cleanup.ps1" /ru system /mo 1 /st 00:00 /sd 01.01.2021
(Einloggen für Download des Scripts)