Search This Blog

Monday 9 June 2014

Creating Dynamic Groups With Windows Computer Objects and Health Service Watcher Objects


As of 01/05/2017, this blog will not be updated or maintained

It has been a well known requirement for most customers, to be able to Create Groups of Windows Computers that also contain corresponding Health Service Watcher objects. This was needed for Alert Notification subscriptions so that different teams could receive alert notifications filtered by groups, but also include alerts from the Watcher, such as Heartbeat failure and Computer Unreachable.

Below you will find the code for SCOM 2007x and SCOM 2012x.