Microsoft防毒软体 [英] Microsoft Antiware
问题描述
我们通过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
创建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屋!