Merge pull request #8868 from MaratMussabekov/patch-242

replaced outdated cmdlet
This commit is contained in:
Kateyanne 2020-12-30 14:43:25 -08:00 committed by GitHub
commit 70cbfea063
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,10 +31,10 @@ This topic describes how to deploy Windows 10 Enterprise E3 or E5 licenses with
## Firmware-embedded activation key
To determine if the computer has a firmware-embedded activation key, type the following command at an elevated Windows PowerShell prompt
To determine if the computer has a firmware-embedded activation key, type the following command at an elevated Windows PowerShell prompt:
```
(Get-WmiObject -query select * from SoftwareLicensingService).OA3xOriginalProductKey
```PowerShell
(Get-CimInstance -query select * from SoftwareLicensingService).OA3xOriginalProductKey
```
If the device has a firmware-embedded activation key, it will be displayed in the output. If the output is blank, the device does not have a firmware embedded activation key. Most OEM-provided devices designed to run Windows 8 or later will have a firmware-embedded key.