![]() |
The following steps describe how to set the Audit Storage Policy.
1. Retrieve the instance of AMT_AuditLog, where the “Name” key equals “Intel(r) AMT:Audit Log”.
2. Set the StoragePolicy property.
3. If you set the StoragePolicy to 2 (RESTRICTED_ROLL_OVER), set the MinDaysToKeep parameter (which actually defines the restriction).
4. Invoke AMT_AuditLog.Put.
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()
$auditLogInstance.SetProperty("StoragePolicyProperty","2")
$auditLogInstance.SetProperty("MinDaysToKeep","3")
$auditLogRef.Put($auditLogInstance)
Instance Diagram
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.
See Also: |
Copyright © 2006-2022, Intel Corporation. All rights reserved. |