Skip to content

Instantly share code, notes, and snippets.

View nerzhulart's full-sized avatar

Artem Bukhonov nerzhulart

  • JetBrains
  • Russia, Saint Petersburg
View GitHub Profile
@nerzhulart
nerzhulart / Windows Defender Exclusions for Developer.ps1
Last active November 9, 2024 13:32 — forked from dknoodle/Windows Defender Exclusions VS 2017.ps1
Adds Windows Defender exclusions for developers (Visual Studio, JetBrains Rider, IntellIJ Idea, Git, MsBuild, dotnet, mono etc.)
$userPath = $env:USERPROFILE
$pathExclusions = New-Object System.Collections.ArrayList
$processExclusions = New-Object System.Collections.ArrayList
$pathExclusions.Add('C:\Windows\Microsoft.NET') > $null
$pathExclusions.Add('C:\Windows\assembly') > $null
$pathExclusions.Add($userPath + '\AppData\Local\Microsoft\VisualStudio') > $null
$pathExclusions.Add('C:\ProgramData\Microsoft\VisualStudio\Packages') > $null
$pathExclusions.Add('C:\Program Files (x86)\MSBuild') > $null
$pathExclusions.Add('C:\Program Files (x86)\Microsoft Visual Studio 14.0') > $null
Process 51850 stopped
* thread #1, name = ‘tid_307’, queue = ‘com.apple.main-thread’, stop reason = signal SIGSTOP
frame #0: 0x00007fff6ac96cee libsystem_kernel.dylib`__psynch_cvwait + 10
libsystem_kernel.dylib`__psynch_cvwait:
-> 0x7fff6ac96cee <+10>: jae 0x7fff6ac96cf8 ; <+20>
0x7fff6ac96cf0 <+12>: movq %rax, %rdi
0x7fff6ac96cf3 <+15>: jmp 0x7fff6ac8e0b8 ; cerror_nocancel
0x7fff6ac96cf8 <+20>: retq
Target 0: (mono-sgen) stopped.