Scripted Installation of OMS Agent (Windows)

Hi ppl! In this article, I am about to demonstrate a quick scripted way of onboarding your computers to the Operations Management Suite. More specific we will go through with the command line installation of the Microsoft Monitoring Agent (MMA).

  1. Login to OMS Portal
  2. Click on Settings.
  3. Click on Connected Sources.
  4. Choose Windows Sources, note down Workspace ID and Primary Key.
  5. Click on Download Windows Agent 64bit or 32bit.
  6. Open an elevated command prompt and navigate to the directory where the MMA executable has been downloaded.
  7. Execute the following command (fill in your workspace id and workspace key).

Wait for a couple of minutes, then navigate to Control Panel, click on Microsoft Monitoring Agent Program and if the agent is successfully configured and connected to the OMS Workspace you will expect to see the following output:


Additionally, the MMA agent can be connected to more than one OMS Workspaces (multi-homed).



George Markou

My Name is George Markou, IT Pro, Geek and Fancy Gadgets enthusiast. I am focused on Virtualization and Cloud Technologies.

%d bloggers like this: