< Back

Get-AzureRmVMAEMExtension

Tue Jan 29, 2019 9:37 pm

NAME Get-AzureRmVMAEMExtension



SYNOPSIS

Gets information about the AEM extension.





SYNTAX

Get-AzureRmVMAEMExtension [-ResourceGroupName] <String> [-VMName] <String> [[-Name] <String>] [[-Status]] [[-OSType] <String>] [-DefaultProfile

<IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Get-AzureRmVMAEMExtension cmdlet gets information about the Azure Enhanced Monitoring (AEM) extension.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Name <String>

Specifies the name of a virtual machine. This cmdlet gets information for the AEM extension on the virtual machine that this cmdlet specifies.



Required? false

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-OSType <String>

Specifies the type of the operating system of the operating system disk. If the operating system disk does not have a type, you must specify

this parameter. The acceptable values for this parameter are: Windows and Linux.



Required? false

Position? 4

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group of a virtual machine. This cmdlet gets information for the AEM extension on that virtual machine.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Status [<SwitchParameter>]

Indicates that this cmdlet gets only the instance view of the AEM extension.



Required? false

Position? 3

Default value False

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-VMName <String>

Specifies the name of a virtual machine. This cmdlet gets information about AEM extension for the virtual machine that this parameter

specifies.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Compute.Models.PSVirtualMachineExtension







NOTES









Example 1: Get the AEM extension



PS C:\\> Get-AzureRmVMAEMExtension -ResourceGroupName "ResourceGroup11" -VMName "contoso-server"



This command gets information for the AEM extension for the virtual machine named contoso-server.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... mextension

Remove-AzureRmVMAEMExtension

Set-AzureRmVMAEMExtension

Test-AzureRmVMAEMExtension