Microsoft ConfigMgr 2007 Component Servers based on SMS Executive Discovery

Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Component_Servers_based_on_SMS_Executive_Installation.Discovery (Discovery)

Element properties:

TargetSystem.Mom.BackwardCompatibility.Computer.Server
EnabledTrue
Frequency14400
RemotableFalse
CommentMom2005ID='{F43F115C-0418-4B40-BE92-C6004AB2511B}'

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource System.Mom.BackwardCompatibility.RegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Component_Servers_based_on_SMS_Executive_Installation.Discovery" Target="MomBackwardCompatibility!System.Mom.BackwardCompatibility.Computer.Server" Enabled="true" Comment="Mom2005ID='{F43F115C-0418-4B40-BE92-C6004AB2511B}'">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Component_Servers_based_on_SMS_Executive_Installation">
<Property PropertyID="Microsoft_SMSv4_Executive_Service"/>
<Property PropertyID="Microsoft_SMSv4_Highest_Version_Number"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="MomBackwardCompatibility!System.Mom.BackwardCompatibility.RegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="WindowsLibrary!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>Microsoft_SMSv4_Executive_Service</AttributeName>
<Path>SYSTEM\CurrentControlSet\Services\SMS_EXECUTIVE\DisplayName</Path>
<PathType>1</PathType>
<AttributeType>0</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>Microsoft_SMSv4_Highest_Version_Number</AttributeName>
<Path>SOFTWARE\Microsoft\SMS\Operations Management\Version</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
<RegistryView>32bit</RegistryView>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<!--Sampling frequency is 4 hours (14400 seconds) currently-->
<Frequency>14400</Frequency>
<Expression xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:fn="http://www.w3.org/2004/07/xpath-functions" xmlns:xdt="http://www.w3.org/2004/07/xpath-datatypes" xmlns:display="urn:DisplayString" xmlns:converter="urn:ExpressionConverter" xmlns:msxsl="urn:schemas-microsoft-com:xslt">
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value Type="String">$Target/Property[Type="MomBackwardCompatibility!System.Mom.BackwardCompatibility.Computer"]/Virtual_Server_Type$</Value>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String"/>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/Microsoft_SMSv4_Executive_Service</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="Boolean">true</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>Values/Microsoft_SMSv4_Highest_Version_Number</XPathQuery>
</ValueExpression>
<Operator>MatchesWildcard</Operator>
<Pattern>4.00.*</Pattern>
</RegExExpression>
</Expression>
</And>
</Expression>
</And>
</Expression>
<ClassId>$MPElement[Name="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Component_Servers_based_on_SMS_Executive_Installation"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="WindowsLibrary!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="WindowsLibrary!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Component_Servers_based_on_SMS_Executive_Installation"]/Microsoft_SMSv4_Executive_Service$</Name>
<Value>$Data/Values/Microsoft_SMSv4_Executive_Service$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Component_Servers_based_on_SMS_Executive_Installation"]/Microsoft_SMSv4_Highest_Version_Number$</Name>
<Value>$Data/Values/Microsoft_SMSv4_Highest_Version_Number$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>