-
-
Save sahwar/e8cbbe1f7e6138dbdebf7ff7c6df2d07 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $devid = "*DEV_4236" | |
| $status = devcon status $devid | Select-String "running" | |
| if($status -eq $null) | |
| { | |
| write-host "Enabling wireless" | |
| devcon enable $devid | |
| } | |
| else | |
| { | |
| write-host "Disabling wireless" | |
| devcon disable $devid | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment