How to find Windows Product Key using PowerShell.

Step 1: Type powershell in Windows Search. Click on the Windows PowerShell entry to open it.

Step 2: In the Windows PowerShell window, type the following text:

powershell “(Get-WmiObject -query ‘select * from SoftwareLicensingService’).OA3xOriginalProductKey”

Step 3: Press Enter. It will display the Product Key in the next line.

Leave a comment