Intel AMT Features > Event Manager > Use Cases > Freeze/Unfreeze the Event Log
CollapseAll image

Freeze/Unfreeze the Event Log

The following steps describe how to freeze/unfreeze the Event Log. When the Event Log is frozen you cannot clear the log and new events are not written to the Event Log.

1.  Retrieve the instance of AMT_MessageLog, where the “name” key equals “Intel(r) AMT:MessageLog 1”.

2.  Invoke AMT_MessageLog.FreezeLog with the following parameter:

Parameter

Value

Freeze

True (1) – Freeze the Event Log

False (0) – Unfreeze the Event Log

 

Click here for a snippet demonstrating this step

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

  

$messageLogRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_MessageLog WHERE Name='Intel(r) AMT:MessageLog 1'")

$inputObject =$messageLogRef.CreateMethodInput("FreezeLog")

$inputObject.SetProperty("Freeze","false")

$outputObject =$messageLogRef.InvokeMethod($inputObject)

$returnValue =$outputObject.GetProperty("ReturnValue")

 

 

Instance Diagram

Classes Used in This Flow

SDK Sample

Not applicable

 

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