Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how to add exclusion to windows defender command line

powershell -Command Add-MpPreference -ExclusionPath "C:	mp"
powershell -Command Add-MpPreference -ExclusionProcess "java.exe"
powershell -Command Add-MpPreference -ExclusionExtension ".java"

powershell -Command Remove-MpPreference -ExclusionExtension ".java"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #add #exclusion #windows #defender #command #line
ADD COMMENT
Topic
Name
9+3 =