Created
May 10, 2018 03:20
-
-
Save staybuzz/5e09c8c7b7ac09051bf7ec9d7d76c81a to your computer and use it in GitHub Desktop.
This file contains 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
$WLANSVC_PID = Get-WmiObject -class win32_service -filter "name='wlansvc'" | findstr ProcessId | % {$($_.split(":"))[1]} | |
taskkill.exe /F /PID $WLANSVC_PID | |
Start-Service -Name wlansvc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment