Forum Discussion

4 Replies

  • But we don't have any PowerShell script, we want that script, please tell us where to get that script.
    • JosLieben's avatar
      JosLieben
      Iron Contributor

      That's already documented nicely here: https://docs.microsoft.com/en-us/azure/log-analytics/log-analytics-agent-windows

      You can use the CMDLine commands in a Powershell script

  • JosLieben's avatar
    JosLieben
    Iron Contributor

    You could use Get-AzureRMVM | Set-AzureRmVMCustomScriptExtension to deploy a Powershell script that links them to OMS.

Resources