Intel AMT Features > Event Manager > Use Cases > Delete an Event Filter
CollapseAll image

Delete an Event Filter

The following steps describe how to delete an event filter.

1.  Retrieve the instance of AMT_PETFilterSetting with the PolicyID you want to delete.

2.  Invoke AMT_PETFilterSetting.Delete.

Click here for a snippet demonstrating this step

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


$policyID ="40" # The PolicyID you want to delete.

$petFilterSettingRef =$wsmanConnectionObject.NewReference("AMT_PETFilterSetting")

foreach($petFilterSettingItem in$petFilterSettingRef.Enumerate())


    $petFilterSettingRef =$petFilterSettingItem.Object.ToReference("InstanceID")

    $petFilterSettingInstance =$petFilterSettingRef.Get()

    if($petFilterSettingInstance.GetProperty("PolicyID") -like $policyID)








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:

   Event Filters

   Event Types Summary

   AMT Generated Events

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