Skip to content

Commit a9ca04f

Browse files
authored
Merge pull request #298797 from msmbaldwin/freshness
update
2 parents 96c2cde + 183a1ff commit a9ca04f

File tree

4 files changed

+78
-39
lines changed

4 files changed

+78
-39
lines changed

articles/security/fundamentals/antimalware-code-samples.md

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,17 @@ ms.date: 09/25/2024
1313
ms.author: mbaldwin
1414
ms.custom: devx-track-azurepowershell, devx-track-arm-template
1515
---
16-
# Enable and configure Microsoft Antimalware for Azure Resource Manager VMs
17-
You can enable and configure Microsoft Antimalware for Azure Resource Manager VMs. This article provides code samples using PowerShell cmdlets.
16+
17+
# Code samples to enable and configure Microsoft Antimalware for Azure
18+
19+
This article provides PowerShell code samples to enable and configure Microsoft Antimalware for different Azure services including:
20+
21+
- Azure Resource Manager VMs
22+
- Azure Service Fabric Clusters
23+
- Azure Cloud Services using Extended Support
24+
- Azure Arc-enabled servers
25+
26+
You can use these samples to deploy and configure the Microsoft Antimalware extension across your Azure environments.
1827

1928
## Deploy Microsoft Antimalware on Azure Resource Manager VMs
2029

@@ -69,7 +78,7 @@ Set-AzureRmVMExtension -ResourceGroupName $resourceGroupName -Location $location
6978
```
7079

7180
## Add Microsoft Antimalware to Azure Service Fabric Clusters
72-
Azure Service Fabric uses Azure virtual machine scale sets to create the Service Fabric Clusters. Presently the virtual machine scale sets template used for creating the Service Fabric Clusters is not enabled with the Antimalware extension. As such, Antimalware needs to be enabled separately on the scale sets. As you enable it on scale sets, all the nodes created under the virtual machine scale sets inherit and get the extension automatically.
81+
Azure Service Fabric uses Azure virtual machine scale sets to create the Service Fabric Clusters. Presently the virtual machine scale sets template used for creating the Service Fabric Clusters isn't enabled with the Antimalware extension. As such, Antimalware needs to be enabled separately on the scale sets. As you enable it on scale sets, all the nodes created under the virtual machine scale sets inherit and get the extension automatically.
7382

7483
The code sample below shows how you can enable IaaS Antimalware extension using the AzureRmVmss PowerShell cmdlets.
7584

@@ -144,7 +153,7 @@ $cloudService.ExtensionProfile.Extension = $cloudService.ExtensionProfile.Extens
144153
$cloudService | Update-AzCloudService
145154
```
146155

147-
Here is an example of the private configuration XML file
156+
Here's an example of the private configuration XML file
148157

149158
```
150159
<?xml version="1.0" encoding="utf-8"?>
@@ -220,4 +229,7 @@ New-AzConnectedMachineExtension -Name "IaaSAntimalware" -ResourceGroupName $reso
220229
```
221230

222231
## Next steps
223-
Learn more about [Microsoft Antimalware](antimalware.md) for Azure.
232+
233+
- [Microsoft Antimalware for Azure Cloud Services and Virtual Machines](antimalware.md)
234+
- [Microsoft Defender for Cloud](/azure/defender-for-cloud/)
235+
-

0 commit comments

Comments
 (0)