Skip to content

Instantly share code, notes, and snippets.

@haray-isao
Created June 20, 2018 07:55
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 haray-isao/0978c7a819cbef5991a4ff8d243f7618 to your computer and use it in GitHub Desktop.
Save haray-isao/0978c7a819cbef5991a4ff8d243f7618 to your computer and use it in GitHub Desktop.
# Get extension list
az vm extension image list --publisher microsoft -o table | grep malware
IaaSAntimalware Microsoft.Azure.Security.Test 1.5.2.0
IaaSAntimalware Microsoft.Azure.Security 1.0.0.0
IaaSAntimalware Microsoft.Azure.Security 1.1.0.0
# Install antimalware to Windows VM
az vm extension set --name IaaSAntimalware \
--publisher Microsoft.Azure.Security \
--resource-group myResourceGroup \
--vm-name myWinVM
# Show installed extensions
az vm extension list -g myResourceGroup --vm-name myWinVM -o table
# Remove extension
az vm extension delete -g myResourceGroup --vm-name myWinVM -n IaaSAntimalware
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment