It is very easy to find wifi password using cmd. This command works even though you are offline or you are connected to some other wifi network.
Find out how to secure your WIFI Network
How to Find Passwords Using Wireshark More
How to Find WiFi Password in Windows PC/Laptop