Discover Windows CPUs

Microsoft.Windows.Server.10.0.CPU.Discovery (Discovery)

This rule uses WMI to discover all processors reported by Windows Server 2016 and above operating systems.

Knowledge Base article:

Summary

This Discovery Rule discovers and populates the Windows Server class named "Windows Server 2016 and above Processor" with instances of Processors that are discovered on Windows Server 2016 and above operating systems.

Element properties:

TargetMicrosoft.Windows.Server.10.0.OperatingSystem
EnabledFalse
Frequency86640
RemotableFalse

Object Discovery Details:

Discovered Classes and their attribuets:
Discovered relationships and their attribuets:

Member Modules:

ID Module Type TypeId RunAs 
DiscoveryDataSource DataSource Microsoft.Windows.Server.10.0.CPUDiscovery.ModuleType Default

Source Code:

<Discovery ID="Microsoft.Windows.Server.10.0.CPU.Discovery" Enabled="false" Target="Microsoft.Windows.Server.10.0.OperatingSystem">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.10.0.Processor">
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="DeviceID"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="Name"/>
<Property TypeID="Windows!Microsoft.Windows.LogicalDevice" PropertyID="Description"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.Processor" PropertyID="Manufacturer"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.Processor" PropertyID="Speed"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.Processor" PropertyID="DataWidth"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.Processor" PropertyID="Revision"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.Processor" PropertyID="Version"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.Processor" PropertyID="PerfmonInstance"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Windows!Microsoft.Windows.ComputerHostsLogicalDevice"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Microsoft.Windows.Server.10.0.CPUDiscovery.ModuleType">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ComputerID>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<IntervalSeconds>86640</IntervalSeconds>
<TimeoutSeconds>360</TimeoutSeconds>
</DataSource>
</Discovery>