ADB Wi-Fi connect and disconnect

Silently download and install ADB

Android:
Go to Settings > About Phone and tap Build Number 7 times to activate Developer Options.
Go to Settings > System > Developer Options
Enable USB debugging
Open Wireless debugging and enable (note IP)
Plug phone in PC and allow debugging

Connect:



Unplug phone from PC

Disconnect: