Intel AMT Features > Event Manager > Use Cases > Get Event Filter Subscribers
CollapseAll image

Get Event Filter Subscribers

The following step describes how to get details about the filters and their subscribers.

1.  Invoke AMT_PETFilterForTarget.Enumerate.

2.  To determine the subscribers for each filter, examine the list returned by the enumeration where:

   AMT_PETFilterForTarget.Antecendent references the AMT_PETFilterSetting object that represents the event

   AMT_PETFilterForTarget.Dependent references an AMT_EventSubscriber object that represents the subscriber

Click here for a snippet demonstrating this step

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

  

$petFilterForTargetRef =$wsmanConnectionObject.NewReference("AMT_PETFilterForTarget")

foreach($petFilterForTargetItem in$petFilterForTargetRef.Enumerate())

{

    $petFilterSettingInstance =$petFilterForTargetItem.Object.GetProperty("Antecedent").Ref.Get()

    $eventSubscriberInstance =$petFilterForTargetItem.Object.GetProperty("Dependent").Ref.Get()

}

 

 

Instance Diagram

Classes Used in This Flow

SDK Sample

Not applicable

 

See Also:

   Event Filter Subscribers

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