![]() |
Two methods support deleting all wireless profiles designated as either IT profiles or User profiles. The following steps show how to invoke these methods.
1. Retrieve the instance of AMT_WiFiPortConfigurationService, where the “Name” key equals “Intel(r) AMT WiFi Port Configuration Service”.
2. To delete all IT profiles, invoke AMT_WiFiPortConfigurationService.DeleteAllITProfiles.
Click here for a snippet demonstrating this step
You can execute this snippet by inserting it into the execution template found here.
$wifiPortConfigurationServiceRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_WiFiPortConfigurationService WHERE Name='Intel(r) AMT WiFi Port Configuration Service'")
$inputObject =$wifiPortConfigurationServiceRef.CreateMethodInput("DeleteAllITProfiles")
$outputObject =$wifiPortConfigurationServiceRef.InvokeMethod($inputObject)
$returnValue =$outputObject.GetProperty("ReturnValue")
3. To delete all user profiles, invoke AMT_WiFiPortConfigurationService.DeleteAllUserProfiles.
Click here for a snippet demonstrating this step
You can execute this snippet by inserting it into the execution template found here.
$wifiPortConfigurationServiceRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_WiFiPortConfigurationService WHERE Name='Intel(r) AMT WiFi Port Configuration Service'")
$inputObject =$wifiPortConfigurationServiceRef.CreateMethodInput("DeleteAllUserProfiles")
$outputObject =$wifiPortConfigurationServiceRef.InvokeMethod($inputObject)
$returnValue =$outputObject.GetProperty("ReturnValue")
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: |
Copyright © 2006-2022, Intel Corporation. All rights reserved. |