how to hack wifi using pc 2019

this is the idea of hacking any wifi nearby If you forgot the wifi password then you can look through commands prompt.If wifi is not connected then only it’s strength can be seen