tacticalrmm/scripts/WinDefenderClearLogs.ps1

3 lines
127 B
PowerShell

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