4 lines
300 B
PowerShell
4 lines
300 B
PowerShell
$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") |