How to Detect list of available Wireless Networks

Click Start, click Run, type cmd, and then click OK, to open a command prompt.

At the command prompt, type 

netsh wlan show networks mode=bssid

 

 

How to Connects to a Wireless Network

netsh wlan connect name=MTNL

Replace MTNL with your own profile name

 

How to disconnect to a Wireless Network

netsh wlan disconnect

 

How to show available Wireless Network profiles your PC

netsh wlan show profile

 

How to Saves wlan profiles as XML files to the specified location

netsh wlan export profile name=MTNL

 

How to Block a Wireless Connection

netsh wlan add filter permission=block ssid=netgear networktype=infrastructure

If you want to block this computer from accessing all wireless network use denyall option in the command. 

netsh wlan add filter permission=denyall networktype=adhoc

How to show the blocked network

netsh wlan show blockednetworks

 

How to show the installed Wireless drivers

netsh wlan show drivers