To delete a wireless profile, locate the CIM_WiFiEndpointSettings object where the profile is defined, and invoke its Delete method. The following steps describe how to do this.
1. Either locate the desired profile using the steps in the Enumerate Existing Wireless Profiles use case, or use the endpoint reference returned when the profile was created (see Add a Wireless Profile).
2. Invoke CIM_WiFiEndpointSettings.Delete.
Click here for a snippet demonstrating this step
You can execute this snippet by inserting it into the execution template found here.
# $wifiEndpointSettingsRef is an EPR to the CIM_WiFiEndpointSettings object created by 'Add a Wireless Profile' use case.
Classes Used in This Flow
If there is a sample demonstrating this flow, it is included in the SDK installation file. See SDK Installation Layout for details.
Copyright © 2006-2022, Intel Corporation. All rights reserved.