Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$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