MOM/SCOM/OpsManager PowerShell

Rob Doucette has just published at a nice example of using PowerGUI to create a custom UI console for Microsoft Systems Center Operations Manager 2007 (a.k.a. MOM v3).

The upcoming release of what used to be called Microsoft Operations Manager (MOM) is also PowerShell-enabled. This of course means that you can use PowerShell as a command line interface for Operations Manager, and use PowerGUI to create your own custom administrative consoles with whichever functionality you need.

MOM guys approached the task slightly differently than the Exchange team. In a sense they were less radical and their console is not built on PowerShell (as Exchange Management Console is). However, unlike the Exchange folks they created a PowerShell provider for command-line browsing.

You can find more information on Operations Manager 2007 PowerShell in Roger Sprague’s blog at: For example, his recent post is about Discovering Windows Computers using PowerShell.

You can use Rob’s PowerGUI snapin to get started creating your Operations Manager UIs, and use Roger’s blog for the code you can copy/paste into them for a lot of cool functionality.

P.S. Surprisingly, there are not that many active blogs about MOM:

Also neither of these two posts mention PowerShell. Is MOM community just less enthusiastic and blog-oriented than the Exchange one?


7 Responses to “MOM/SCOM/OpsManager PowerShell”

  1. 1 Ian Blyth March 21, 2007 at 9:56 am

    The MOM ecosystem is not as large as the Exchange one! Especially as SCOM 2007 is still in beta. It will go RTM at the end of this month.

    I have not got into PowerShell myself although I can see it’s power but bloggers like Stefan Stranger and Pete Zerger have done posts on it.

    I keep a list of all active MOM (SCOM) bloggers that I come about on a page on my blog site as well as links to web sites

    Thanks for the link.

    Ian Blyth

  2. 2 dmitrysotnikov March 22, 2007 at 4:50 am

    Thanks for the links Ian! Learning something new every day…

  3. 3 Stefan Stranger March 30, 2007 at 12:55 am

    Hi Dmitry,

    I had to learn about your weblog through Ian but I’m glad I found you. Maarten Goet is telling me I should get into contact with you because I love PowerShell. But’s it’s hard to convince others 😉 I tried yesterday, during lunch at MMS 2007, but failed. Later that day I posted an article about PowerShell on my weblog.
    Hope it helps 😉

    Are you giving some session tomorrow on MMS 2007 where we can meet?

    Stefan Stranger

  4. 4 dmitrysotnikov March 30, 2007 at 1:02 am


    Was good to see you and Ian at the party! Keep in touch guys! I hope PowerGUI helps you get more MOM guys use PowerShell.


  5. 5 marcos December 3, 2010 at 4:45 pm

    Quisiera saber línea por línea qué hace el siguiente script de powershell:

    $contenido = Get-Content -Path “D:\Scripts\fin.txt”
    $mensaje = Get-Date -Format dd/MM/yy
    $mensaje = $mensaje + ” – ”
    if ($contenido -match “Exito”)
    $mensaje = $mensaje + “El respaldo de POSTGRES termino correctamente”
    $mensaje = $mensaje + “El respaldo de POSTGRES NO termino correctamente”
    Send-MailMessage -SmtpServer -From -To -Subject “Respaldo 123_postgres” -Body $mensaje
    Remove-Item -Path D:\Scripts\fin.txt

    Muchas gracias y saludos

  1. 1 Scripting, PowerShell and PowerGUI « Ian Blyth - System Center Technologies Trackback on March 30, 2007 at 12:38 am
  2. 2 PowerGUI: Managing OpsManager with PowerShell « Dmitry’s PowerBlog Trackback on April 13, 2007 at 4:05 am

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

My Recent Tweets


The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my employer - WSO2 or anyone else for that matter. All trademarks acknowledged.

© 2007-2014 Dmitry Sotnikov

March 2007
    Apr »

%d bloggers like this: