You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/security/fundamentals/antimalware-code-samples.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,9 @@ You can use these samples to deploy and configure the Microsoft Antimalware exte
29
29
> [!NOTE]
30
30
> Before executing this code sample, you must uncomment the variables and provide appropriate values.
31
31
32
+
> [!WARNING]
33
+
> Deploying or updating this extension replaces existing Microsoft Defender Antivirus settings, including exclusions. To preserve your settings, specify them in the extension configuration. For more information, see [Default and Custom Antimalware Configuration](antimalware.md#default-and-custom-antimalware-configuration).
34
+
32
35
```powershell
33
36
# Script to add Microsoft Antimalware extension to Azure Resource Manager VMs
34
37
# Specify your subscription ID
@@ -84,6 +87,9 @@ The code sample below shows how you can enable IaaS Antimalware extension using
84
87
> [!NOTE]
85
88
> Before executing this code sample, you must uncomment the variables and provide appropriate values.
86
89
90
+
> [!WARNING]
91
+
> Deploying or updating this extension replaces existing Microsoft Defender Antivirus settings, including exclusions. To preserve your settings, specify them in the extension configuration. For more information, see [Default and Custom Antimalware Configuration](antimalware.md#default-and-custom-antimalware-configuration).
92
+
87
93
```powershell
88
94
# Script to add Microsoft Antimalware extension to VM Scale Set(VMSS) and Service Fabric Cluster(in turn it used VMSS)
89
95
# Login to your Azure Resource Manager Account and select the Subscription to use
@@ -137,6 +143,9 @@ The code sample below shows how you can add or configure Microsoft Antimalware t
137
143
> [!NOTE]
138
144
> Before executing this code sample, you must uncomment the variables and provide appropriate values.
139
145
146
+
> [!WARNING]
147
+
> Deploying or updating this extension replaces existing Microsoft Defender Antivirus settings, including exclusions. To preserve your settings, specify them in the extension configuration. For more information, see [Default and Custom Antimalware Configuration](antimalware.md#default-and-custom-antimalware-configuration).
148
+
140
149
```powershell
141
150
# Create Antimalware extension object, where file is the AntimalwareSettings
Copy file name to clipboardExpand all lines: articles/security/fundamentals/antimalware.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,9 @@ The default configuration settings are applied to enable Antimalware for Azure C
98
98
99
99
The following table summarizes the configuration settings available for the Antimalware service. The default configuration settings are marked under the column labeled "Default."
100
100
101
+
> [!WARNING]
102
+
> Deploying or updating the Microsoft Antimalware extension replaces existing Microsoft Defender Antivirus settings, including exclusions.
0 commit comments