Discover Network Adapters (Only Enabled)

Microsoft.Windows.Client.Win10.NetworkAdapter.Discovery (Discovery)

This rule uses WMI to discover all network adapters reported by Windows.

Knowledge Base article:

Summary

This Discovery Rule discovers and populates Windows 10 and above class named “Windows 10 and above Network Adapter” with instances Network Adapters that are discovered on Windows 10 and above.

Element properties:

TargetMicrosoft.Windows.Client.Win10.OperatingSystem
EnabledTrue
Frequency86820
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.Client.Win10.NetworkAdapterDiscovery.ModuleType Default

Source Code:

<Discovery ID="Microsoft.Windows.Client.Win10.NetworkAdapter.Discovery" Enabled="true" Target="Microsoft.Windows.Client.Win10.OperatingSystem">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Client.Win10.NetworkAdapter">
<Property TypeID="System!System.Entity" PropertyID="DisplayName"/>
<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="WindowsClient!Microsoft.Windows.Client.NetworkAdapter" PropertyID="AdapterType"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.NetworkAdapter" PropertyID="Index"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.NetworkAdapter" PropertyID="Manufacturer"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.NetworkAdapter" PropertyID="MACAddress"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.NetworkAdapter" PropertyID="ServiceName"/>
<Property TypeID="WindowsClient!Microsoft.Windows.Client.NetworkAdapter" PropertyID="PerfmonInstance"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Windows!Microsoft.Windows.ComputerHostsLogicalDevice"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Microsoft.Windows.Client.Win10.NetworkAdapterDiscovery.ModuleType">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ComputerID>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerID>
<IntervalSeconds>86820</IntervalSeconds>
<TimeoutSeconds>360</TimeoutSeconds>
<DiscoverDisabledNetworkAdapters>false</DiscoverDisabledNetworkAdapters>
</DataSource>
</Discovery>