SCOM: Using PowerShell to update SMTP server address in SMTP notification Channels
I’ve been asked a question on how to bulk update SMTP server addresses in SMTP notification channels using PowerShell. Here’s the script to run in OpsMgr Command Shell:
SCOM Management Pack: Detecting USB Storage Device Connect and Disconnect Events
There was a requirement at work that people need to be notified when a USB storage device (USB key or portable USB hard disks) is connected or disconnected from SCOM monitored Windows computers. So I wrote a 2 very simple alert generating rules to detect USB Mass Storage Device creation and deletion WMI event. I [...]
Extend ConfigMgr Hardware Inventory to capture OpsMgr configurations
Download: MOF Extension for OpsMgr Configurations I’ve been wanting to do this for a while now and finally found some spare time for it. I want to be able to target OpsMgr (SCOM) agents and servers in ConfigMgr (SCCM) in a more granular way (i.e. all OpsMgr agents that are reporting to a OpsMgr Management [...]
Adding New Network Devices to SCOM Using PowerShell
Last week, I needed to write a PowerShell script to add iSCSI SAN devices into SCOM 2007 as network devices. I thought the script would be very straight forward, until I realised there is a limitation using SCOM PowerShell snap-in. To explain it, let me firstly go through how to do this in SCOM console [...]
Event ID 29104 on SCOM RMS cluster
First of all, apologies for not been able to blog for over a month. I changed jobs. I started my new job 4 weeks ago, with all the things going on, I couldn’t find time to sit down and write blog articles. I am now working in a large “System Center Shop” which consists of [...]
PowerShell script to backup unsealed SCOM MPs
Not sure if anyone has written this before. I have written this simple script to backup all unsealed management packs. I have scheduled it to run daily on RMS via Windows Task Scheduler. How does it work: Backup unsealed MPs to a local folder. Delete older backups from local folder robocopy backup from local folder [...]
SCOM Management Pack: Daylight Saving Time Change Detection

I wrote this management pack to detect system time changes that are caused by daylight saving. It’s called “Custom Daylight Saving Detection”. Background: When supporting a infrastructure that has servers across the globe, it is hard to keep track of daylight saving schedules for all time zones. There is a requirement that we need to be [...]
Unresponsive SCOM 2007 R2 Console
Over the last few weeks, I’ve been configuring a brand new SCOM environment at work to monitor the SCCM infrastructure. This is a very small SCOM implementation, it only consists 1 RMS (SCOM 2007 R2 with Cumulative Update 4) and 1 SQL server hosting OperationsManager DB (SCOM Reporting is yet to be implemented). Both RMS [...]
Creating a collection in SCCM for “all SCOM 2007 R2 agents without Cumulative Update 4 installed”
Recently I’ve been working on deploying a SCOM environment to monitor SCCM infrastructure. Initially we used SCCM to deploy SCOM agents out to all SCCM servers as it is our preferred method to deploy any apps. By doing so, SCOM agents are considered “Manually Installed” in SCOM, therefore I cannot simply approve updates in SCOM [...]