Enable or disable your wireless card from the command line

This site taught me one of my favorite tips to save a tiny bit of battery on my laptop and let me be lazy at the same time.

Basically it points you to download devcon from Micro$oft, identify what kind of wireless NIC you have, and then write a quick script to disable/enable your wifi card.

For example, my script to turn off my NIC is simply:

devcon disable *DEV_4315*

And to turn it back on:

devcon enable *DEV_4315*

Lovely.

Blog comments powered by Disqus