CollapseAll image

Enumerate Type FRU

The following steps describe how to retrieve information about Field Replaceable Units (FRUs).

1.  Enumerate instances of AMT_PCIDevice and examine each object:

2.  For each object examine:

a.   AMT_PCIDevice.VendorID to see the vendor ID read from the device's PCI configuration space.

b.   AMT_PCIDevice.DeviceID to see the address or other identifying information to uniquely name the PCI device.

c.   AMT_PCIDevice.RevisionID to see the revision ID read from the device's PCI configuration space.

d.   AMT_PCIDevice.ProgIf to see the programmatic interface code read from the device's PCI configuration space.

e.   AMT_PCIDevice.Subclass to see the PCI subclass code read from the device's PCI configuration space.

f.    AMT_PCIDevice.ClassCode to see the PCI class code read from the device's PCI configuration space.

g.   AMT_PCIDevice.SubsystemVendorID to see the ID information that reported from a PCIDevice through protocol-specific requests.

h.   AMT_PCIDevice.SubsystemID to see the subsystem ID read from the device's PCI configuration space.

i.     AMT_PCIDevice.DeviceLocation to see the bus, device, and function number of the device.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$pciDeviceRef =$wsmanConnectionObject.NewReference("AMT_PCIDevice")

foreach($pciDeviceItem in$pciDeviceRef.Enumerate())

{

    $pciDeviceInstance =$pciDeviceItem.Object

    $vendorID =$pciDeviceInstance.GetProperty("VendorID")

    $deviceID =$pciDeviceInstance.GetProperty("DeviceID")

    $revisionID =$pciDeviceInstance.GetProperty("RevisionID")

    $progIf =$pciDeviceInstance.GetProperty("ProgIf")

    $subclass =$pciDeviceInstance.GetProperty("Subclass")

    $classCode =$pciDeviceInstance.GetProperty("ClassCode")

    $subsystemVendorID =$pciDeviceInstance.GetProperty("SubsystemVendorID")

    $subsystemID =$pciDeviceInstance.GetProperty("SubsystemID")

    $deviceLocation =$pciDeviceInstance.GetProperty("DeviceLocation")

}

 

 

Instance Diagram

Not applicable

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.