New Azure PowerShell cmdlets for Azure Enhanced Monitoring

As part of the announcement during the keynote at SAPPHIRE NOW to support SAP on Linux on Azure we released 5 Azure Quickstart Templates on github and 4 PowerShell cmdlets. For a description of the Azure Quickstart Templates, read the blogĀ Azure Quickstart Templates for SAP

Azure PowerShell cmdlets

SAP on Linux on Azure is only supported using Azure Resource Manager (often referred as the new deployment model). The script that was used to enable Azure Enhanced Monitoring for Windows does only support the old deployment model. We decided not to extend the script but implement cmdlets that ship with the Azure PowerShell. The script is still supported to enable Azure Enhanced Monitoring for Windows virtual machines that were created using the old deployment model (classical). For more information about the deployment models, see https://azure.microsoft.com/documentation/articles/resource-manager-deployment-model/

Set- AzureRmVMAEMExtension

Installs the Azure Enhanced Monitoring extension on a virtual machine. It also installs the IaaSDiagnostics or LinuxDiagnostic extension and enables Analytics for all Storage Accounts used by the virtual machine. For more information, see https://msdn.microsoft.com/library/mt670598.aspx

Test- AzureRmVMAEMExtension

Tests the configuration of a virtual machine. This cmdlet can be used to test the IaaSDiagnostics or LinuxDiagnostic extension configurations as well as the Azure Enhanced Monitoring extension configuration. For more information, see https://msdn.microsoft.com/library/mt670597.aspx

Get-AzureRmVMAEMExtension

Retrieves the extension from a virtual machine. For more information, see https://msdn.microsoft.com/library/mt670595.aspx

Remove- AzureRmVMAEMExtension

Remove the Azure Enhanced Monitoring extension from a virtual machine. It does not remove the IaaSDiagnostics or LinuxDiagnostic extension from the virtual machine nor does it disable Analytics for the Storage Accounts used by the virtual machine. For more information, see https://msdn.microsoft.com/library/mt670599.aspx