Sets the interface power state.
- macOS 10.6+
- Core WLAN
A Boolean value corresponding to the power state. NO indicates the "OFF" state.
An NSError object passed by reference, which will be populated with the error code and the error description if an error occurs during the execution of this method. This parameter is optional and can be passed as nil.
A Boolean value which will indicate whether or not a failure occurred during execution. YES indicates no error occurred.
This operation may require an administrator password.