Android ADB (Android Debug Bridge) Turn on/off Wifi


Example

Turn on:

adb shell svc wifi enable

Turn off:

adb shell svc wifi disable