wiki:windows:powershell:defender
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| wiki:windows:powershell:defender [2018/02/14 17:35] – created matt | wiki:windows:powershell:defender [2018/02/14 17:38] (current) – matt | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| ===== Script ===== | ===== Script ===== | ||
| Create a script and name it " | Create a script and name it " | ||
| - | Run the script | + | In an elevated PowerShell run it with: < |
| - | Here is a sanitized version of the script I built for work to keep Defender from interfering with out accounting software. You can see how you can customize it for your uses easily. There are a bunch of other commandlets for Defender you can jump off to from here. | + | Here is a sanitized version of the script I built for work to keep Defender from interfering with out accounting software. You can see how you can customize it for your uses easily. There are a bunch of other commandlets for Defender you can jump off to from here. |
| < | < | ||
| # File Share Exclusions | # File Share Exclusions | ||
| Line 24: | Line 24: | ||
| Add-MpPreference -ExclusionExtension (' | Add-MpPreference -ExclusionExtension (' | ||
| </ | </ | ||
| + | |||
| + | ===== Sources ===== | ||
| + | * https:// | ||
| + | * https:// | ||
wiki/windows/powershell/defender.1518647714.txt.gz · Last modified: by matt