Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
$servicename = "AzureVMAntiMalware"
$name = "MyAzureVM01"
# Get Azure VM
$vm = Get-AzureVM –ServiceName $servicename –Name $name
# Get Microsoft Antimalware Agent Azure Virtual Machine Status
Get-AzureVMExtension -Publisher Microsoft.Azure.Security -ExtensionName IaaSAntimalware -Version 1.* -VM $vm.VM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment