Microsoft ConfigMgr 2007 Servers Discovery

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

Element properties:

TargetSystem.Mom.BackwardCompatibility.Computer.Server
EnabledTrue
Frequency14400
RemotableFalse
CommentMom2005ID='{1D70EED8-03BD-4AA1-91F3-9C708DAF2E3D}'

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_Servers_Installation.Discovery" Target="MomBackwardCompatibility!System.Mom.BackwardCompatibility.Computer.Server" Enabled="true" Comment="Mom2005ID='{1D70EED8-03BD-4AA1-91F3-9C708DAF2E3D}'">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Servers_Installation">
<Property PropertyID="Microsoft_SMSv4_Provider"/>
<Property PropertyID="Microsoft_SMSv4_Executive_Service"/>
<Property PropertyID="Microsoft_SMSv4_Highest_Version_Number"/>
<Property PropertyID="Microsoft_SMSv4_Server_Locator_Point"/>
<Property PropertyID="Microsoft_SMSv4_Distribution_Point"/>
<Property PropertyID="Microsoft_SMSv4_SQL_Server"/>
<Property PropertyID="Microsoft_SMSv4_Reporting_Point"/>
</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_Provider</AttributeName>
<Path>SOFTWARE\Microsoft\SMS\Providers\Binary Directory</Path>
<PathType>1</PathType>
<AttributeType>0</AttributeType>
<RegistryView>32bit</RegistryView>
</RegistryAttributeDefinition>
<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>
<RegistryAttributeDefinition>
<AttributeName>Microsoft_SMSv4_Server_Locator_Point</AttributeName>
<Path>SOFTWARE\Microsoft\SMS\Operations Management\SMS Server Role\SMS Server Locator Point</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
<RegistryView>32bit</RegistryView>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>Microsoft_SMSv4_Distribution_Point</AttributeName>
<Path>SOFTWARE\Microsoft\SMS\Operations Management\SMS Server Role\SMS Distribution Point</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
<RegistryView>32bit</RegistryView>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>Microsoft_SMSv4_SQL_Server</AttributeName>
<Path>SOFTWARE\Microsoft\SMS\Operations Management\SMS Server Role\SMS SQL Server</Path>
<PathType>0</PathType>
<AttributeType>0</AttributeType>
<RegistryView>32bit</RegistryView>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>Microsoft_SMSv4_Reporting_Point</AttributeName>
<Path>SOFTWARE\Microsoft\SMS\Operations Management\SMS Server Role\SMS Reporting Point</Path>
<PathType>0</PathType>
<AttributeType>0</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>
<Or>
<Expression>
<Or>
<Expression>
<Or>
<Expression>
<Or>
<Expression>
<Or>
<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>
<Expression>
<And>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/Microsoft_SMSv4_SQL_Server</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>
<Expression>
<Not>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value>$Target/Property[Type="MomBackwardCompatibility!System.Mom.BackwardCompatibility.Computer"]/IsHostingMSCS$</Value>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="String"/>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<Value>$Target/Property[Type="MomBackwardCompatibility!System.Mom.BackwardCompatibility.Computer"]/IsHostingMSCS$</Value>
</ValueExpression>
<Operator>NotEqual</Operator>
<ValueExpression>
<Value Type="Boolean">false</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</Not>
</Expression>
</And>
</Expression>
</Or>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/Microsoft_SMSv4_Provider</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>
</Or>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/Microsoft_SMSv4_Distribution_Point</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>
</Or>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/Microsoft_SMSv4_Reporting_Point</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>
</Or>
</Expression>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="Boolean">Values/Microsoft_SMSv4_Server_Locator_Point</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>
</Or>
</Expression>
</And>
</Expression>
<ClassId>$MPElement[Name="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Servers_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_Servers_Installation"]/Microsoft_SMSv4_Provider$</Name>
<Value>$Data/Values/Microsoft_SMSv4_Provider$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Servers_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_Servers_Installation"]/Microsoft_SMSv4_Highest_Version_Number$</Name>
<Value>$Data/Values/Microsoft_SMSv4_Highest_Version_Number$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Servers_Installation"]/Microsoft_SMSv4_Server_Locator_Point$</Name>
<Value>$Data/Values/Microsoft_SMSv4_Server_Locator_Point$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Servers_Installation"]/Microsoft_SMSv4_Distribution_Point$</Name>
<Value>$Data/Values/Microsoft_SMSv4_Distribution_Point$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Servers_Installation"]/Microsoft_SMSv4_SQL_Server$</Name>
<Value>$Data/Values/Microsoft_SMSv4_SQL_Server$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.SystemCenter.ConfigurationManager.2007.Microsoft_SMSv4_Servers_Installation"]/Microsoft_SMSv4_Reporting_Point$</Name>
<Value>$Data/Values/Microsoft_SMSv4_Reporting_Point$</Value>
</Setting>
</Settings>
</InstanceSettings>
</DataSource>
</Discovery>