http://blogs.technet.com/b/kevinholman/archive/2009/06/10/creating-custom-dynamic-computer-groups-based-on-registry-keys-on-agents.aspx
Basically – you want to create ONE new class, and use Windows Computer as your base class. Then keep adding properties to this class for anything special you will need. Put this extended class, and the discovery/discoveries to populate the class properties in its own MP and seal it. Only change it when you need to add a property. Adding properties can be done in XML or using the old SCOM 2007 R2 authoring console, or Visual Studio. Then – create another MP for your company groups. Place each group in there with whatever criteria you need, and leverage class properties from the above mentioned MP, or any others as needed. Seal this MP. Using the method above, you can leverage these groups anywhere else as needed in unsealed or other sealed MP’s, and use the groups for scoping views, notifications overrides, whatever. From: [email protected] [mailto:[email protected]] On Behalf Of Steven Peck Sent: Tuesday, January 13, 2015 10:13 AM To: [email protected] Subject: [msmom] Groups in SCOM2012r2 Greetings, I helped deploy our original SCOM 2007r2 environment several years ago and create some management pack using the original MP Authoring tool before they moved me to a different group. Our internal SCOM migration to 2012r2 sort of stalled and so they moved me back after an absence of a few years. Looking over our original environment I can say we learned a lot and are looking to not repeat some of the previous practices. 😊 With this change comes a requirement to ‘split the teams’ and alerts. I am looking to create a custom sealed management pack for us called ‘CompanyName Groups’. I figure the fastest, easiest way given our environment is to create a regkey on the servers and use this to determine which ‘group’ a server is in. Once I have this I will be able to filter subscriptions to various alerts. However, I am finding it challenging to find any docs or blog posts on this. One article I read seemed to indicate; create in console, export and seal, but I am somewhat concerned about modifying that in the future. Any pointers to blog posts or articles would be appreciated. Using either the Silect MP Authoring tool or the Visual Studio one (trying to go through Brian Wren’s presentations on MVA). I suspect I am just missing a concept or something others consider obvious. Thanks, Steven Peck
