Microsoft Antimalware For Azure Cloud Services and VMs Code Samples

This document cotains a series of samples and templates for the following scenarios: Microsoft Antimalware configuration using XML template and JASON templates. Sample code to extract antimalware events from Azure Storage. This document is provided "as-is."

 
 
 
 
 
5 Star
(2)
4,051 times
Add to favorites
Security
10/6/2015
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • right command for antimalware configuration
    1 Posts | Last post September 26, 2017
    • I'm trying to define antimalware for azure cloud service.
      I used the following command in poser shell administrator mode 
      [System.Xml.XmlDocument] $XmlConfig = New-Object System.Xml.XmlDocument   (command ok)
      
      $XmlConfig.load('C:\config_antimalware\add_ext.xml')                    (command ok)
      
      with command
      Set-AzureServiceAntimalwareExtension -ServiceName "ContosoService03" -AntimalwareConfiguration $XmlConfig  
      
      I got error msg 
      
      Set-AzureServiceAntimalwareExtension : Termine 'Set-AzureServiceAntimalwareExtension' non riconosciuto come nome di
      cmdlet, funzione, programma eseguibile o file script. Controllare l'ortografia del nome o verificare che il percorso
      sia incluso e corretto, quindi riprovare.
      
      The file add_ext.xml contains
      
      <AntimalwareConfig><AntimalwareEnabled>true</AntimalwareEnabled></AntimalwareConfig>
      
      thanks for your sugggestion
      Giovanni