Its too difficult to hack wifi by using window CMD due to upgraded software but not a impossible just follow the steps and watch the given. Go to command prompt, click start up menu on your system, click RUN, type Cmd, and click ok to open the command prompt:
Step 1
Inside the command prompt, type the following:
color a (So you can see the words and everything in green if you don't want, skip this step)
Step 2
Inside the command prompt, type the following:
netsh wlan show networks mode=bssid (It will show all the available wifi network, take note of the names)
Step 3
To connect to the wifi network, type the following:
netsh wlan connect name=(Put the name of wifi your system detect)
Step 4
Press enter to connect
Step 5
To disconnect it, type
netsh wlan disconnect
Step 6
To save it type:
netsh wlan export profile name=netgear (Not by name but change it to the name of the detected wifi)
Related Post : Source : wikipedia