Intel AMT Features > General Info > Use Cases > Get Code Versions
CollapseAll image

Get Code Versions

The following steps describe how toread BIOS/Firmware version information from an Intel AMT device. One of the options is the  instance of CIM_SoftwareIdentity where the InstanceID equals “Sku”. All console applications should determine the SKU of the platform under management to be sure it supports the features the console depends on. Future SKUs may not support all of the features of Intel AMT.

1.  Retrieve the instance of CIM_BIOSElement, where the “Name” key equals “Primary BIOS”.

2.  Examine CIM_BIOSElement.Version, CIM_BIOSElement.ElementName, etc.

Click here for a snippet demonstrating this step

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

  

$biosElementRef = $wsmanConnectionObject.NewReference("SELECT * FROM  CIM_BIOSElement WHERE Name='Primary BIOS'")

$biosElementInstance = $biosElementRef.Get()

$version = $biosElementInstance.GetProperty("Version")

$elementName = $biosElementInstance.GetProperty("ElementName")

 

 

3.  To get firmware versions:

a.  Retrieve instances of CIM_SoftwareIdentity, where the “InstanceID” key equals one of the values in InstanceID and Version String Formats.

b.  For each instance examine CIM_SoftwareIdentity.VersionString, CIM_SoftwareIdentity.InstanceID, etc. (See InstanceID and Version String Formats.)

Click here for a snippet demonstrating this step

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

  

$softwareIdentityRef = $wsmanConnectionObject.NewReference("SELECT * FROM  CIM_SoftwareIdentity WHERE InstanceID='Sku'")

$softwareIdentityInstance = $softwareIdentityRef.Get()

$versionString = $softwareIdentityInstance.GetProperty("VersionString")

 

 

Instance Diagram

Classes Used in This Flow

SDK Sample

Located at:<SDK_root>\Windows\Intel_AMT\Samples\WS-Management\GeneralInfo

 

Copyright © 2006-2013, Intel Corporation. All rights reserved.