Skip to content

PowerShell to remotely install the Microsoft Monitoring Agent

License

Notifications You must be signed in to change notification settings

jwvdboschHotmail/Install-MMA

 
 

Repository files navigation

Install-MMA - Remote install of Microsoft Monitoring Agent

Install-MMA is PowerShell I wrote for a customer last year to deploy the Microsoft Monitoring Agent remotely to servers.

It uses PowerShell Remoting. It also includes a few other scripts to help manage the MMA later as needed. This was built to help customers install/upgrade to the Log Analytics version of the MMA but can also be used to deploy the SCOM version as well.

Requirements

Implementation

Install-MMA has a single parameter: RemoteServer

Example: Install-MMA -RemoteServer OMSAgent

You will need to define the following in the code to use:

  • Define RemoteServer if you don't use the parameter
  • Provide the location of the momagent.msi that you extracted
  • Enter the Workspace ID
  • Enter the Workspace key

About

PowerShell to remotely install the Microsoft Monitoring Agent

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%