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 [...]
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 [...]
Updated: Enhanced SCOM Alerts Notification Emails script
I have previously posted the Enhanced SCOM Alerts Notification email scripts back in July 2010. I’d like to thank everyone who have tested it and provided feedbacks. You made me aware there are few issues and bugs with the script. Since I have just resigned and my new job won’t start in few weeks time, [...]
ENHANCED SCOM Alerts Notification Emails!
29/01/2012: The command notification channel setup section of this blog has been updated. More details of the change can be found HERE: http://blog.tyang.org/2012/01/29/command-line-parameters-for-scom-command-notification-channel/ Please Note: This post and associated script has been updated on 30/09/2010. Even though SCOM is a great product, I personally believe that alert notification emails is something that really needs improvements. It [...]