Question: how to get windows 10 key command line?
Answer: Press Windows key + X.
Click Command Prompt (Admin)
At the command prompt, type: wmic path SoftwareLicensingService get OA3xOriginalProductKey. This will reveal the product key. Volume License Product Key Activation.