Update configure-extension-file-exclusions-microsoft-defender-antivirus.md

This commit is contained in:
Denise Vangel-MSFT 2021-03-29 13:28:46 -07:00 committed by GitHub
parent e39d70cc54
commit b729926aa2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,8 +99,6 @@ See [How to create and deploy antimalware policies: Exclusion settings](/configm
5. Choose **OK**.
![The Group Policy setting for file and folder exclusions](images/defender/wdav-path-exclusions.png)
6. Open the **Extension Exclusions** setting for editing and add your exclusions.
- Set the option to **Enabled**.
@ -139,7 +137,7 @@ The following are allowed as the `<exclusion list>`:
> [!IMPORTANT]
> If you have created a list, either with `Set-MpPreference` or `Add-MpPreference`, using the `Set-MpPreference` cmdlet again will overwrite the existing list.
For example, the following code snippet would cause Microsoft Defender AV scans to exclude any file with the `.test` file extension:
For example, the following code snippet would cause Microsoft Defender Antivirus scans to exclude any file with the `.test` file extension:
```PowerShell
Add-MpPreference -ExclusionExtension ".test"