< Back

Test-AzureRmVMAEMExtension

Tue Jan 29, 2019 9:40 pm

NAME Test-AzureRmVMAEMExtension



SYNOPSIS

Checks the configuration of the AEM extension.





SYNTAX

Test-AzureRmVMAEMExtension [-ResourceGroupName] <String> [-VMName] <String> [[-OSType] <String>] [[-WaitTimeInMinutes] <Int32>]

[[-SkipStorageCheck]] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Test-AzureRmVMAEMExtension cmdlet checks the configuration of the Azure Enhanced Monitoring (AEM) extension. The AEM extension collects the

performance data. This cmdlet checks whether performance data is available.





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



-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? 2

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group of the virtual machine that this cmdlet checks.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-SkipStorageCheck [<SwitchParameter>]

Indicates that this cmdlet skips the check of storage configuration.



Required? false

Position? 4

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-VMName <String>

Specifies the name of a virtual machine. This cmdlet tests the 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



-WaitTimeInMinutes <Int32>

Specifies a time-out period, in minutes, for the storage configuration check.



Required? false

Position? 3

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



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Compute.Extension.AEM.AEMTestResult







NOTES









Example 1: Check the configuration of the AEM extension



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



This command checks the configuration of the AEM extension for the virtual machine named contoso-server.







RELATED LINKS

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

Get-AzureRmVMAEMExtension

Remove-AzureRmVMAEMExtension

Set-AzureRmVMAEMExtension