Intel AMT Features > Discovery > Use Cases > Determine if the Platform has a Wired Interface
CollapseAll image

Determine if the Platform has a Wired Interface

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.

 Note:

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.

  

$portIsWirelessInterface =$false

foreach($ethernetPortItem in$wsmanConnectionObject.NewReference("SELECT * FROM CIM_EthernetPort").Enumerate())

{

    $deviceID =$ethernetPortItem.Object.GetProperty("DeviceID")

    if($deviceID -like "Intel(r) AMT Ethernet Port 0")

    {

          $portIsWirelessInterface =$true

          break

    }

}

 

 

 

Instance Diagram

Classes Used in This Flow

SDK Sample

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.