Microsoft防毒软体 [英] Microsoft Antiware

查看:66
本文介绍了Microsoft防毒软体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们通过Azure门户向VM安装了Microsoft Antimalware扩展.

We installed Microsoft Antimalware extension via Azure Portal to VMs.

我们如何管理添加和删除排除文件/扩展名/位置?

How can we manage the add and delete Exclusion files/extension/location? 

谢谢

推荐答案

很遗憾,您无法通过Azure门户更新反恶意软件设置.

Unfortunately you cannot update the Antimalware settings through the Azure Portal.

您需要使用要更改的设置创建一个JSON文件并将其部署到虚拟机

You need to create a JSON file with the settings you want to change and deploy it to the VMs

在此处检查: https: //docs.microsoft.com/zh-CN/powershell/module/servicemanagement/azure/set-azurevmmicrosoftantimalwareextension?view=azuresmps-4.0.0

创建JSON:

Microsoft反恶意软件JSON配置示例:

Microsoft Antimalware JSON configuration sample:

{"AntimalwareEnabled":正确,"RealtimeProtectionEnabled":正确,"ScheduledScanSettings":{"isEnabled":正确,"day":1,"time":120,"scanType":"Full" ; }

{ "AntimalwareEnabled": true, "RealtimeProtectionEnabled": true, "ScheduledScanSettings": { "isEnabled": true, "day": 1, "time": 120, "scanType": "Full" },

"Exclusions":{"Extensions":.ext1; .ext2","Paths":"c:\ excluded-path-1; c:\ excluded-path-2","Processes" :"excludedproc1.exe; excludedproc2.exe"; }

"Exclusions": { "Extensions": ".ext1;.ext2", "Paths": "c:\excluded-path-1;c:\excluded-path-2", "Processes": "excludedproc1.exe;excludedproc2.exe" }

}

然后应用它:


Config_String = [IO.File] :: ReadAllText('C:\ configuration \ contosoVM.json')
Config_String = [IO.File]::ReadAllText('C:\configuration\contosoVM.json')

Get-AzureVM -ServiceName"ContosoService03"; -名称"ContosoVM22"; | Set-AzureVMMicrosoftAntimalwareExtension-反恶意软件配置

Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Set-AzureVMMicrosoftAntimalwareExtension -AntimalwareConfiguration


Config_String | Update-AzureVM
Config_String | Update-AzureVM


这篇关于Microsoft防毒软体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆