Skip to content

Instantly share code, notes, and snippets.

@Maoyeedy
Maoyeedy / Windows Defender Exclusions for Developer.ps1
Last active September 3, 2023 09:39 — forked from nerzhulart/Windows Defender Exclusions for Developer.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
# Custom
$pathExclusions.Add($userPath + '\UnityProjects') > $null
$pathExclusions.Add($userPath + '\UnrealProjects') > $null
$processExclusions.Add('UnrealEngine.exe') > $null
$processExclusions.Add('blender.exe') > $null
$processExclusions.Add('maya.exe') > $null