Install the Azure Monitor Agent

The powershell script below simplifies my life when I need to install the AMA agent.


Set-AzVMExtension `
-ExtensionName "AzureMonitorWindowsAgent" `
-ExtensionType "AzureMonitorWindowsAgent" `
-Publisher "Microsoft.Azure.Monitor" `
-ResourceGroupName "rg-allen" `
-VmName "vm01" `
-Location "uaenorth" `
-TypeHandlerVersion 1.0

2 comments

  1. I have read several good stuff here. Definitely worth bookmarking for revisiting. I surprise how much effort you put to create such a magnificent informative website.

Leave a comment

Your email address will not be published. Required fields are marked *