tacticalrmm/scripts/WinDefenderClearLogs.ps1

2 lines
123 B
PowerShell

wevtutil cl "Microsoft-Windows-Windows Defender/Operational"
Write-Host "Logs are cleared and RMM status should be reset"