Created
June 20, 2018 07:55
-
-
Save haray-isao/0978c7a819cbef5991a4ff8d243f7618 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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