Command Prompt
wmic path softwarelicensingservice get OA3xOriginalProductKey
Powershell
powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"
Command Prompt
wmic path softwarelicensingservice get OA3xOriginalProductKey
Powershell
powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"