Skip to content

Instantly share code, notes, and snippets.

@andreaswasita
Created August 31, 2014 12:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreaswasita/0386c773b9873e7cca88 to your computer and use it in GitHub Desktop.
Save andreaswasita/0386c773b9873e7cca88 to your computer and use it in GitHub Desktop.
$servicename = "MyAzureVMAntiMalware"
$name = "MyAzureVM01"
Get-AzureVM -ServiceName $servicename -Name $name | Set-AzureVMExtension -Publisher Microsoft.Azure.Security -ExtensionName IaaSAntimalware -Version 1.* -Uninstall | Update-AzureVM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment