Discover Network Adapters (Only Enabled)

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

This rule uses WMI to discover all enabled network adapters 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 Network Adapter" with instances Network Adapters that are discovered on Windows Server 2016 and above operating systems.

Element properties:

TargetMicrosoft.Windows.Server.10.0.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.Server.10.0.NetworkAdapterDiscovery.ModuleType Default

Source Code:

<Discovery ID="Microsoft.Windows.Server.10.0.NetworkAdapter.Discovery" Enabled="true" Target="Microsoft.Windows.Server.10.0.OperatingSystem">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.10.0.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="WindowsServer!Microsoft.Windows.Server.NetworkAdapter" PropertyID="AdapterType"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.NetworkAdapter" PropertyID="Index"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.NetworkAdapter" PropertyID="Manufacturer"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.NetworkAdapter" PropertyID="MACAddress"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.NetworkAdapter" PropertyID="ServiceName"/>
<Property TypeID="WindowsServer!Microsoft.Windows.Server.NetworkAdapter" PropertyID="PerfmonInstance"/>
</DiscoveryClass>
<DiscoveryRelationship TypeID="Windows!Microsoft.Windows.ComputerHostsLogicalDevice"/>
</DiscoveryTypes>
<DataSource ID="DiscoveryDataSource" TypeID="Microsoft.Windows.Server.10.0.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>
<UseMacAddress>true</UseMacAddress>
</DataSource>
</Discovery>