mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-30 22:27:23 +00:00
Update configure-extension-file-exclusions-microsoft-defender-antivirus.md
This commit is contained in:
parent
e39d70cc54
commit
b729926aa2
@ -99,8 +99,6 @@ See [How to create and deploy antimalware policies: Exclusion settings](/configm
|
|||||||
|
|
||||||
5. Choose **OK**.
|
5. Choose **OK**.
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
6. Open the **Extension Exclusions** setting for editing and add your exclusions.
|
6. Open the **Extension Exclusions** setting for editing and add your exclusions.
|
||||||
|
|
||||||
- Set the option to **Enabled**.
|
- Set the option to **Enabled**.
|
||||||
@ -139,7 +137,7 @@ The following are allowed as the `<exclusion list>`:
|
|||||||
> [!IMPORTANT]
|
> [!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.
|
> 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
|
```PowerShell
|
||||||
Add-MpPreference -ExclusionExtension ".test"
|
Add-MpPreference -ExclusionExtension ".test"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user