Windows 10 Retrieve your Windows Product Key without extra software

I tried a powershell prompt, then ran the same prompt as an administrator. However, neither of them displayed my key. I'm running the most recent version of Windows 10.

It appears that Neemobeer's command works for some people, but only cursedboy's command works for others.
 

It's working thanks in Windows 10.