< Back

Set-AzureRmVMAEMExtension

Tue Jan 29, 2019 9:39 pm

NAME Set-AzureRmVMAEMExtension



SYNOPSIS

Enables support for monitoring for SAP systems.





SYNTAX

Set-AzureRmVMAEMExtension [-ResourceGroupName] <String> [-VMName] <String> [[-WADStorageAccountName] <String>] [[-OSType] <String>]

[[-SkipStorage]] [-DefaultProfile <IAzureContextContainer>] [-DisableWAD] [-EnableWAD] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmVMAEMExtension cmdlet updates the configuration of a virtual machine to enable or update the support for monitoring for SAP systems

that are installed on the virtual machine. The cmdlet installs the Azure Enhanced Monitoring (AEM) extension that collects the performance data

and makes it discoverable for the SAP system.





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



-DisableWAD [<SwitchParameter>]

Indicates that this cmdlet does not enable Azure Diagnostics for the virtual machine.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-EnableWAD [<SwitchParameter>]

If this parameter is provided, the commandlet will enable Windows Azure Diagnostics for this virtual machine.



Required? false

Position? named

Default value False

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

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 modifies.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-SkipStorage [<SwitchParameter>]

Indicates that this cmdlet skips configuration of storage.



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 adds 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



-WADStorageAccountName <String>

Specifies the name of the storage account that this cmdlet uses to configure the LinuxDiagnostics or IaaSDiagnostics extension. If the virtual

machine does not use a standard storage account, you must specify a value for this parameter.



Required? false

Position? 2

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.Models.PSAzureOperationResponse







NOTES









Example 1: Use AEM extension



PS C:\\> Set-AzureRmVMAEMExtension -ResourceGroupName "ResourceGroup11" -VMName "contoso-server" -WADStorageAccountName "stdstorage"



This command configures the virtual machine named contoso-server to use the AEM extension. The command specifies the storage account named

stdstorage.







RELATED LINKS

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

Get-AzureRmVMAEMExtension

Remove-AzureRmVMAEMExtension

Test-AzureRmVMAEMExtension