4 lines
285 B
PowerShell
4 lines
285 B
PowerShell
$auditLogRef = $wsmanConnectionObject.NewReference("SELECT * FROM AMT_AuditLog WHERE Name='Intel(r) AMT:Audit Log'")
|
|
$inputObject = $auditLogRef.CreateMethodInput("ClearLog")
|
|
$outpObject = $auditLogRef.InvokeMethod($inputObject)
|
|
$returnValue = $outpObject.GetProperty("ReturnValue") |