![]() |
The following steps describe how to clear all the records from the Event Log.
1. Retrieve the instance of AMT_MessageLog, where the “name” key equals “Intel(r) AMT:MessageLog 1”.
2. Invoke AMT_MessageLog.ClearLog
|
You can not clear the Event Log if it is frozen (see Freeze/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("ClearLog")
$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. |