The following steps describe how to examine the capabilities of the Ethernet ports of the platform to see if there is a wired interface on the platform.
Starting with Intel AMT Release 9.5., a platform may have only a wireless interface. This use case applies to those platforms as well.
1. Enumerate the instances of CIM_EthernetPort.
2. If there is an instance of CIM_EthernetPort with a DeviceID equal to “Intel(r) AMT Ethernet Port 0”, the port is a wired interface.
Click here for a snippet demonstrating this step
You can execute this snippet by inserting it into the execution template found here.
foreach($ethernetPortItem in$wsmanConnectionObject.NewReference("SELECT * FROM CIM_EthernetPort").Enumerate())
if($deviceID -like "Intel(r) AMT Ethernet Port 0")
Classes Used in This Flow
If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.
Copyright © 2006-2022, Intel Corporation. All rights reserved.