Checking if Windows Computer is connected to WiFi via Command Line

by [Published on 22 June 2016 / Last Updated on 22 June 2016]

Tip suggests a command line method to check WiFi status on a Windows computer.

If you wish to know if a Windows computer is connected to WiFi or not via command line, execute below command.

  • WMIC /node:”ComputerName” path WIN32_NetworkAdapter where (NetConnectionID="Wi-Fi") get NetConnectionStatus

The above command will return "2" for NetConnectionStatus if WiFi is connected on a Windows Client Computer.

About Nirmal Sharma

Nirmal Sharma is a MCSEx3, MCITP and Microsoft MVP in Directory Services. He specializes in directory services, Microsoft Azure, Failover clusters, Hyper-V, and System Center products and has been involved with Microsoft Technologies since 1994. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles on various sites and contributing to Health Packs for ADHealthProf.ITDynamicPacks.Net solutions. Nirmal can be reached at nirmal_sharma@mvps.org.

See Also


The Author — Nirmal Sharma

Nirmal Sharma avatar

Nirmal Sharma is a MCSEx3, MCITP, and was awarded Microsoft MVP in Directory Services. In his spare time, he likes to help others and share some of his knowledge by writing tips and articles for various online communities. Nirmal can also be found contributing to PowerShell based Dynamic Packs for ADHealthProf.ITDynamicPacks.Net solutions.