How to Check If WiFi is Connected

Do you know? How to Check If WiFi is Connected, You can check your WiFi connection using netsh command line. You find out your computer is connected or not with WiFi. Using netsh command prompt help to find out WiFi connection status.

Just look below that’s command to know WiFi connection status-

netsh interface show interface | findstr /C:"Wireless" /C:"Name"

Example- If you are using Windows 7 computer
How to Check If WiFi is Connected

C:\>netsh interface show interface | findstr /C:"Wireless" /C:"Name"
Admin State    State          Type             Interface Name
Enabled        Connected      Dedicated        Wireless Network Connection

Above command, status shows you that WiFi connection is successfully connected when you run the command.

Read Also: Check IP Address from CMD

If you see this condition when your WiFi has enabled but network connection, not successful to connected. Then the command output like below.

C:\>netsh interface show interface | findstr /C:"Wireless" /C:"Name"
Admin State    State          Type             Interface Name
Enabled        Disconnected   Dedicated        Wireless Network Connection

Another, if the connection and WiFi is disabled, then the command output like below

C:\>netsh interface show interface | findstr /C:"Wireless" /C:"Name"
Admin State    State          Type             Interface Name
Disabled       Disconnected   Dedicated        Wireless Network Connection

You can easily be using this command to know your network with WiFi status manually. You would need to refine the command further to know the status in a script.

Read Also: Disable LAN connection using CMD

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.