Intel AMT Features > General Info > Use Cases > Get Audit Log Status
CollapseAll image

Get Audit Log Status

The following steps describe how to retrieve the audit log status. The function will return the audit log status even if the feature is disabled or locked.

1.  Retrieve the instance of AMT_AuditLog, where the “Name” key equals “Intel(r) AMT:Audit Log”.

2.  Examine AMT_AuditLog.AuditState, AMT_AuditLog.ElementName to see the audit state.

Click here for a snippet demonstrating this step

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

  

$auditLogRef =$wsmanConnectionObject.NewReference("SELECT * FROM  AMT_AuditLog WHERE Name='Intel(r) AMT:Audit Log'")

$auditLogInstance =$auditLogRef.Get()

$auditState =$auditLogInstance.GetProperty("AuditState")

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

 

 

Instance Diagram

Classes Used in This Flow

   AMT_AuditLog

SDK Sample

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