![]() |
The following steps describe how to remove the entry for an application in the FPACL.
1. Retrieve the instance of AMT_ThirdPartyDataStorageAdministrationService, where the “Name” key equals “Intel(r) AMT Third Party Data Storage Administration Service”.
2. Use the Admin: Enumerate all Partner Application’s FPACL Entries flow in order to find the FPACL handle of the entry to be removed, or otherwise obtain the handle.
3. Invoke AMT_ThirdPartyDataStorageAdministrationService.RemoveStorageFpaclEntry to remove the entry. Pass it the handle as an input parameter.
|
All applications related to the FPACL entry must be removed first; otherwise the entry will not be removed. |
Click here for a snippet demonstrating this step
You can execute this snippet by inserting it into the execution template found here.
$handleToDelete ="1" # The handle of the application that should be removed.
$thirdPartyDataStorageAdministrationServiceRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_ThirdPartyDataStorageAdministrationService WHERE Name='Intel(r) AMT Third Party Data Storage Administration Service'")
$inputObject =$thirdPartyDataStorageAdministrationServiceRef.CreateMethodInput("EnumerateStorageAllocEntries")
$outputObject =$thirdPartyDataStorageAdministrationServiceRef.InvokeMethod($inputObject)
$returnValue =$outputObject.GetProperty("ReturnValue")
if($returnValue -like "0")
{
$handles =$outputObject.GetProperty("Handles")
for($i = 0;$i -lt $handles.Count;$i++)
{
$handle =$handles.Item($i).ToString()
if($handle -like $handleToDelete)
{
$inputObject =$thirdPartyDataStorageAdministrationServiceRef.CreateMethodInput("RemoveStorageFpaclEntry")
$inputObject.SetProperty("Handle",$handle)
$outputObject =$thirdPartyDataStorageAdministrationServiceRef.InvokeMethod($inputObject)
$returnValue =$outputObject.GetProperty("ReturnValue")
break
}
}
}
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: |
• Storage Concepts and Objects |
Copyright © 2006-2022, Intel Corporation. All rights reserved. |