<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Creating custom dynamic computer groups based on registry keys on agents</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/10/creating-custom-dynamic-computer-groups-based-on-registry-keys-on-agents.aspx</link><description>I have had a few requests now for this, so I thought I would take the time to write up the process. &amp;#160; &amp;#160; Lets say I have three support levels of servers: &amp;#160; Level 1 – servers critical to business operations (ex: customer facing web applications,</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Creating custom dynamic computer groups based on registry keys on agents</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/10/creating-custom-dynamic-computer-groups-based-on-registry-keys-on-agents.aspx#3252983</link><pubDate>Wed, 10 Jun 2009 14:08:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3252983</guid><dc:creator>Derek</dc:creator><description>&lt;p&gt;Kevin,&lt;/p&gt;
&lt;p&gt;This is great but it stills requires the manual creation of groups for very possible registry key.&lt;/p&gt;
&lt;p&gt;What we are exploring right now is how to create a dynamic group and scoped role based on different string values of defined registry keys.&lt;/p&gt;
&lt;p&gt;Say a registry key contains the name of the business group who owns the server. Lets say say the value is SupportTeamX. This registry key will be read by OpsMgr, create a computer group called SupportTeamX and create a scoped role called SupportTeamX that is scoped to just that computer group.&lt;/p&gt;
&lt;p&gt;Active Directory group membership of the role can be managed separately.&lt;/p&gt;
&lt;p&gt;Would you have any examples of something like this? Based on the work so far I think the dynamic group and role creation is going to require managed code to handle.&lt;/p&gt;
</description></item><item><title>re: Creating custom dynamic computer groups based on registry keys on agents</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/10/creating-custom-dynamic-computer-groups-based-on-registry-keys-on-agents.aspx#3253324</link><pubDate>Thu, 11 Jun 2009 05:57:39 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3253324</guid><dc:creator>David</dc:creator><description>&lt;p&gt;Nice post Kevin, the art helps :)&lt;/p&gt;
</description></item><item><title>re: Creating custom dynamic computer groups based on registry keys on agents</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/10/creating-custom-dynamic-computer-groups-based-on-registry-keys-on-agents.aspx#3257555</link><pubDate>Mon, 22 Jun 2009 22:16:54 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3257555</guid><dc:creator>Marnix Wolf</dc:creator><description>&lt;p&gt;Again a masterpiece. Thanks for sharing this information.&lt;/p&gt;
</description></item><item><title>re: Creating custom dynamic computer groups based on registry keys on agents</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/10/creating-custom-dynamic-computer-groups-based-on-registry-keys-on-agents.aspx#3287330</link><pubDate>Fri, 16 Oct 2009 17:10:09 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3287330</guid><dc:creator>José Fehse</dc:creator><description>&lt;p&gt;Kevin, how should we convert a formula to scom that uses boolean conditions (Check if exists). It doesn't seem to have an option in SCOM for that. Should we use &amp;quot;Equals True&amp;quot;, like below for example?&lt;/p&gt;
&lt;p&gt;( Object is Windows Server Operating System_Extended AND ( MOSS 32bit Equals True ) &lt;/p&gt;
&lt;p&gt;Jos&amp;#233; Fehse&lt;/p&gt;
&lt;p&gt;MCSE&lt;/p&gt;
</description></item><item><title>re: Creating custom dynamic computer groups based on registry keys on agents</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/10/creating-custom-dynamic-computer-groups-based-on-registry-keys-on-agents.aspx#3287461</link><pubDate>Sat, 17 Oct 2009 17:00:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3287461</guid><dc:creator>kevinhol</dc:creator><description>&lt;p&gt;You nailed it - that is exactly correct - as I am sure you found out by testing. &amp;nbsp;Boolean or &amp;quot;check if exists&amp;quot; will always be &amp;quot;attributename&amp;quot; equals &amp;quot;true&amp;quot;&lt;/p&gt;
</description></item><item><title>re: Creating custom dynamic computer groups based on registry keys on agents</title><link>http://blogs.technet.com/kevinholman/archive/2009/06/10/creating-custom-dynamic-computer-groups-based-on-registry-keys-on-agents.aspx#3298362</link><pubDate>Fri, 04 Dec 2009 10:42:53 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3298362</guid><dc:creator>Phil</dc:creator><description>&lt;p&gt;Firstly thanks for a great easy to follow example but I still have a few issues to make this work with clusters.&lt;/p&gt;
&lt;p&gt;Is there anyway for the support value of the underlying cluster node to be set for the virtual nodes it hosts?&lt;/p&gt;
&lt;p&gt;They are discovered by the extended class but the supportlevel is always blank. Which of course means if you use these groups to limit for example to level 1 SQL DB Engines then any SQL instances on a cluster are missing.&lt;/p&gt;
</description></item></channel></rss>