Intel AMT Features > System Defense > Use Cases > Update Policy Statistics
CollapseAll image

Update Policy Statistics

The following steps describe how to update the statistics of a System Defense policy.

1.  Retrieve the instance of CIM_EthernetPort with the DeviceID of the interface whose System Defense Policy you wish to update:




     “Intel(r) AMT Ethernet Port 0” – wired port

     “Intel(r) AMT Ethernet Port 1” – wireless port

2.  Retreive the instance of AMT_SystemDefensePolicy with the InstanceID that you want.


The InstanceID is the ID of the System Defense policy you want to update.

3.  Invoke AMT_SystemDefensePolicy.UpdateStatistics with the following parameters:




The EPR of the interface you seloected with the DeviceID of step 1.


Reset the statistics. Valid values:





The UpdateStatistics method can only be performed on a policy that is active on the interface which is passed in the NetworkInterface parameter.


Click here for a snippet demonstrating this step

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


# Select the wired interface.

$ethernetPortRef =$wsmanConnectionObject.NewReference("SELECT * FROM CIM_EthernetPort WHERE DeviceID='Intel(r) AMT Ethernet Port 0'")

# $systemDefensePolicyRef is an EPR to the AMT_SystemDefensePolicy object created by the 'Create System Defense Policy' use case.

$inputObject =$systemDefensePolicyRef.CreateMethodInput("UpdateStatistics")



$outputObject =$systemDefensePolicyRef.InvokeMethod($inputObject)

$returnValue =$outputObject.GetProperty("ReturnValue")



Additional Information

The AMT_SystemDefensePolicy.UpdateStatistics method creates an AMT_ActiveFilterStatsitics association instance implicitly for every instance of AMT_FilterInSystemDefensePolicy associated to the policy.

Instance Diagram

Not applicable

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:

   Network Isolation

   System Defense Policies

   Heuristic Policies

   System Defense Filter Types

   Processing Network Packets with System Defense

   Networking Packet Structures

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