Cmdlets

Choose a cmdlet from the list on the left or search for a specific cmdlet. Choose a cmdlet from the list or search for a specific cmdlet.
About Help  Providers
 

Get-AzureVMMicrosoftAntimalwareExtension

Get-AzureVMMicrosoftAntimalwareExtension

microsoft.windowsazure.commands.servicemanagement.dll

Synopsis

Gets the Microsoft Antimalware extension details for a virtual machine.

Syntax

Get-AzureVMMicrosoftAntimalwareExtension [-VM] [<CommonParameters>]

Detailed Description

The Get-AzureVMMicrosoftAntimalwareExtension cmdlet gets the Microsoft Antimalware extension details for a virtual machine. This cmdlet gets details for virtual machines that have the extension turned on programmatically by using the Set-AzureVMMicrosoftAntimalwareExtension cmdlet. The cmdlet gets the JavaScript Object Notation (JSON) equivalent for the configuration. If monitoring is turned on, the cmdlet also gets an XML representation of the antimalware monitoring configuration.

Parameters

-VM <IPersistentVM>

Specifies the virtual machine as an IPersistentVM object.

Aliases

None

Required?

true

Position

named

Default value

none

Accept pipeline input?

true (ByValue, ByPropertyName)

Accept wildcard characters?

false

Input Type

IPersistentVM

Return Type

VirtualMachineMicrosoftAntimalwareExtensionContext

Notes

Examples

-------------------------- Example 1: Get information for the extension for a virtual machine --------------------------

This command gets details for the Microsoft Antimalware extension for a virtual machine. The command uses the Get-AzureVM cmdlet to get the specified virtual machine object, and then passes the object to the current cmdlet by using the pipeline operator. Get-AzureVMMicrosoftAntimalwareExtension gets configuration information for the extension.

PS C:\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Get-AzureVMMicrosoftAntimalwareExtension

Online Version
Get-AzureVM
Remove-AzureVMMicrosoftAntimalwareExtension
Set-AzureVMMicrosoftAntimalwareExtension