true to power the interface on, false to power it off
Optionalinterface: string | nullthe interface name as returned by interfaces(); omit for the system's default Wi-Fi interface
true if the power state was changed successfully, false if the interface doesn't exist or the change failed (see the Console for the reason)
Turns a Wi-Fi interface on or off.