PowerShell function testing if a SCOM ETL trace is running

The other day I needed a function which tells me if a SCOM ETL trace is currently running or not. I had some hard time to figure out a simple and reliable way testing this. With some great assistance from my Support colleagues Silvana Deac and Mihai Sarbulescu I finally found a way 🙂 The attached…

2

How I do it: SCOM Override handling

Summary for the impatientThis post describes why and how to implement a certain naming convention for the Override description field and provides an automated solution to enforce this syntax, handle temporary Overrides and report on Overrides. Use case Working with Overrides for SCOM workflows is a common task. There is a lot of documentation available…


How I do it: SCOM alert handling/management

This week I had a discussion with some colleagues about SCOM alert handling/management. When do I close an alert? How do I do that? What about the monitors causing the alert?  How can we automate this stuff? What about roll-up monitors? A lot of questions and I never took the time to think about that…


Reporting RunAsAccount usage information in a SCOM 2012 (R2) Management Group

A few days ago I was asked if I had a script to list all RunAsAccounts in a SCOM Management Group and their associated RunAsProfile (“Which profile uses which account?” or "Which account is used in which profile?"). I had none, but in my youthful carelessness I thought, that couldn’t be rocket science… Ok, it…

2

An approach to automate SCOM service account password change – part 2/3: prerequisites and execution steps

This is part two of my little blog series about how to change SCOM service accounts. In part one I talked about the challenges and the overall process. This part explains the necessary prerequisites and steps to perform the automated password change. Prerequisites So what prerequisites do we need and why? Software (on a workstation…


An approach to automate SCOM service account password change – part 1/3: background and process

Changing SCOM Service account passwords can be challenging and complex. MVP Marnix Wolf has written an excellent blog post about all necessary steps we have to take to change passwords in all the different locations like AD, Windows OS (Service), RunAs accounts, SQL Reporting configuration etc. But as SCOM is a powerful and mighty tool…


Quick note from the field: Access rights for set-scomlicense

Just in case you try to set a license for a SCOM Management Group with set-scomlicense and the Cmdlet hangs forever:Make sure that you execute set-scomlicense in an elevated Shell: On a SCOM Management Server (preferably the RMS emulator) With a user account that have this access rights: local Admin rights on the Management Server…


Analyzing running workflows on a SCOM Agent (HealthService)

Today I was asked: How do I get a usable list of all workflows running on a SCOM Agent? That’s easy, I thought: that’s why we have the built-in task “Show Running Rules and Monitors for this Health Service” for:   Unfortunately, the output is not really easy to understand and to process. Therefore I…

2

How to verify that all Management Packs in a SCOM Management Group are up-to-date?

Have you checked your Management Groups lately if they contain the most current sealed Management Packs? How do you that? Easy task, isn’t it? Simply use the SCOM console to verify your MPs against the Microsoft online MP Web catalog and you are done! The problem Hmm, is it really that simple? Unfortunately I don’t…

2