Skip to content

Instantly share code, notes, and snippets.

@adamdriscoll
Created January 23, 2020 22:15
Show Gist options
  • Save adamdriscoll/44ba35f9238f470a55e59b47804e6efa to your computer and use it in GitHub Desktop.
Save adamdriscoll/44ba35f9238f470a55e59b47804e6efa to your computer and use it in GitHub Desktop.
This script causes defend to go nuts
# When I have real-time protection enabled, it takes about 100x as long to run this script.
# Defender is using like 60% of CPU on 8 core box
pwsh -Command "(Get-Date).ToFileTimeUtc()" > "$(ProjectDir)\BuildDate.txt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment