I stumbled on an article from labnol which tries to teach users to find out what the password for the WiFi they are currently connected to. While the MacOS part of the tutorial was pretty straightforward with the keychain app unlike on Windows.
On Windows, you are required to remember the specific keywords to key into MS-DOS. I thought this was a bit cumbersome, and how it would be a lot better if like MacOS you could use an app with a GUI and this is where WirelessKeyView comes in.
WirelessKeyView is a small utility (barely 200kb) which allows you to view all the passwords of all the WiFi networks you have ever been connected to.
The app is quite easy to use and doesn't require any installation, all you to do is download the WirelessKeyView app from this link and run the app.Download WirelessKeyView