Creating OpsMgr 2007 Groups Programmatically
Published Jan 21 2019 03:50 PM 211 Views
Microsoft

First published on MSDN on Jan 17, 2009

I've recently given a couple of examples of how to create groups that will dynamically include the health service watcher object and also how to create groups based on my sample custom MP that will populate based on AD security group membership.  Both of these examples required editing the XML directly to insert the proper group membership expression.  Brian Wren writes an excellent blog post about how to create groups programmatically.  You sill need the correct expression to build out group membership but it may be a bit nicer for some than having to sift through the raw management pack XML.

http://blogs.technet.com/brianwren/archive/2008/11/18/programmatically-creating-groups.aspx

Version history
Last update:
‎Apr 07 2020 09:42 AM
Updated by: