Discover Windows Server Update Services Servers

Microsoft.Windows.Server.UpdateServices.2012.Server.Discovery (Discovery)

Discover Windows Server Update Services Servers

Element properties:

TargetMicrosoft.Windows.Server.Computer
EnabledTrue
Frequency14400
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Windows.FilteredRegistryDiscoveryProvider Default

Source Code:

<Discovery ID="Microsoft.Windows.Server.UpdateServices.2012.Server.Discovery" Enabled="true" Target="Windows!Microsoft.Windows.Server.Computer" ConfirmDelivery="false" Remotable="true" Priority="Normal">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.UpdateServices.2012.Server">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
<Property PropertyID="Version"/>
<Property PropertyID="SQLServer"/>
<Property PropertyID="SQLDatabase"/>
<Property PropertyID="SQLAuthentication"/>
<Property PropertyID="TargetDir"/>
<Property PropertyID="ContentDir"/>
</DiscoveryClass>
</DiscoveryTypes>
<DataSource ID="DS" TypeID="Windows!Microsoft.Windows.FilteredRegistryDiscoveryProvider">
<ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<RegistryAttributeDefinitions>
<RegistryAttributeDefinition>
<AttributeName>Version</AttributeName>
<Path>SOFTWARE\Microsoft\Update Services\Server\Setup\Version</Path>
<PathType>1</PathType>
<AttributeType>2</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SQLServer</AttributeName>
<Path>SOFTWARE\Microsoft\Update Services\Server\Setup\SqlServerName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SQLDatabase</AttributeName>
<Path>SOFTWARE\Microsoft\Update Services\Server\Setup\SqlDatabaseName</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>SQLAuthentication</AttributeName>
<Path>SOFTWARE\Microsoft\Update Services\Server\Setup\SqlAuthenticationMode</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>TargetDir</AttributeName>
<Path>SOFTWARE\Microsoft\Update Services\Server\Setup\TargetDir</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
<RegistryAttributeDefinition>
<AttributeName>ContentDir</AttributeName>
<Path>SOFTWARE\Microsoft\Update Services\Server\Setup\ContentDir</Path>
<PathType>1</PathType>
<AttributeType>1</AttributeType>
</RegistryAttributeDefinition>
</RegistryAttributeDefinitions>
<Frequency>14400</Frequency>
<ClassId>$MPElement[Name="Microsoft.Windows.Server.UpdateServices.2012.Server"]$</ClassId>
<InstanceSettings>
<Settings>
<Setting>
<Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
<Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Windows.Server.UpdateServices.2012.Server"]/Version$</Name>
<Value>$Data/Values/Version$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Windows.Server.UpdateServices.2012.Server"]/SQLServer$</Name>
<Value>$Data/Values/SQLServer$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Windows.Server.UpdateServices.2012.Server"]/SQLDatabase$</Name>
<Value>$Data/Values/SQLDatabase$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Windows.Server.UpdateServices.2012.Server"]/SQLAuthentication$</Name>
<Value>$Data/Values/SQLAuthentication$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Windows.Server.UpdateServices.2012.Server"]/TargetDir$</Name>
<Value>$Data/Values/TargetDir$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="Microsoft.Windows.Server.UpdateServices.2012.Server"]/ContentDir$</Name>
<Value>$Data/Values/ContentDir$</Value>
</Setting>
<Setting>
<Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
<Value>WSUS</Value>
</Setting>
</Settings>
</InstanceSettings>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>Values/Version</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>4</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</DataSource>
</Discovery>