< Back
Get-AzureVMMicrosoftAntimalwareExtension
Post
NAME Get-AzureVMMicrosoftAntimalwareExtension
SYNOPSIS
Gets the Microsoft Antimalware extension details for a virtual machine.
SYNTAX
Get-AzureVMMicrosoftAntimalwareExtension -VM <IPersistentVM> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable
<String>] [<CommonParameters>]
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.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
IPersistentVM
OUTPUTS
VirtualMachineMicrosoftAntimalwareExtensionContext
NOTES
-------------------------- Example 1: Get information for the extension for a virtual machine --------------------------
PS C:\\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Get-AzureVMMicrosoftAntimalwareExtension
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=402840
Remove-AzureVMMicrosoftAntimalwareExtension
Set-AzureVMMicrosoftAntimalwareExtension
SYNOPSIS
Gets the Microsoft Antimalware extension details for a virtual machine.
SYNTAX
Get-AzureVMMicrosoftAntimalwareExtension -VM <IPersistentVM> [-Profile <AzureSMProfile>] [-InformationAction <ActionPreference>] [-InformationVariable
<String>] [<CommonParameters>]
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.
Required? true
Position? named
Default value None
Accept pipeline input? True (ByValue, ByPropertyName)
Accept wildcard characters? false
-Profile <AzureSMProfile>
Specifies the Azure profile from which this cmdlet reads. If you do not specify a profile, this cmdlet reads from the local default profile.
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationAction <ActionPreference>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-InformationVariable <String>
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
IPersistentVM
OUTPUTS
VirtualMachineMicrosoftAntimalwareExtensionContext
NOTES
-------------------------- Example 1: Get information for the extension for a virtual machine --------------------------
PS C:\\>Get-AzureVM -ServiceName "ContosoService03" -Name "ContosoVM22" | Get-AzureVMMicrosoftAntimalwareExtension
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.
RELATED LINKS
Online Version: http://go.microsoft.com/fwlink/?LinkID=402840
Remove-AzureVMMicrosoftAntimalwareExtension
Set-AzureVMMicrosoftAntimalwareExtension