Git Product home page Git Product logo

install-mma's Introduction

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

install-mma's People

Contributors

brianbar-msft avatar

Stargazers

Ryan Lowell avatar  avatar Jonathon Stufflebeam avatar Jtst1 avatar keyboardcrunch avatar

install-mma's Issues

New-Object error

I am getting an error with this script don't know if its still valid.

New-Object: Retrieving the COM class factory for component with CLSID {00000000-0000-0000-0000-000000000000} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
InvalidOperation: You cannot call a method on a null-valued expression.
InvalidOperation: You cannot call a method on a null-valued expression.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.