Discover Network Adapters (Both Enabled and Disabled)

Microsoft.Windows.Server.2008.NetworkAdapter.All.Discovery (Discovery)

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

Knowledge Base article:

Summary

This Discovery Rule discovers and populates the Windows Server class named “Windows Server 2008 Network Adapter" with instances Network Adapters that are discovered on Windows 2008 Servers.

Element properties:

TargetMicrosoft.Windows.Server.2008.OperatingSystem
EnabledFalse
Frequency86760
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.2008.NetworkAdapterDiscovery.ModuleType Default

Source Code:

<Discovery ID="Microsoft.Windows.Server.2008.NetworkAdapter.All.Discovery" Enabled="false" Target="Microsoft.Windows.Server.2008.OperatingSystem">
<Category>Discovery</Category>
<DiscoveryTypes>
<DiscoveryClass TypeID="Microsoft.Windows.Server.2008.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.2008.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>86760</IntervalSeconds>
<TimeoutSeconds>360</TimeoutSeconds>
<DiscoverDisabledNetworkAdapters>true</DiscoverDisabledNetworkAdapters>
<UseMacAddress>true</UseMacAddress>
</DataSource>
</Discovery>