Skip to content

wmic

wmic path softwareLicensingService get OA3xOriginalProductKey
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey