Windows 11 Produktkey auslesen

In der Eingabeaufforderung

wmic path SoftwareLicensingService get OA3xOriginalProductKey
OA3xOriginalProductKey
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX

Powershell

powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX