On this page
...
Code Block |
---|
|
C:\WINDOWS\system32\slmgr.vbs /dli |
PowerShell
Code Block |
---|
language | powershell |
---|
theme | RDark |
---|
|
PS> Get-CimInstance SoftwareLicensingProduct -Filter "Name like 'Windows%'" |
where { $_.PartialProductKey } | select Name, Description, LicenseStatus |
...
Code Block |
---|
language | vb |
---|
theme | FadeToGrey |
---|
|
SELECT Name,Description,LicenseStatus FROM SoftwareLicensingProduct WHERE PartialProductKey IS NOT NULL |
These commands may be run at an elevated command prompt, or via a remote management system.
...
Code Block |
---|
language | bat |
---|
theme | Midnight |
---|
title | Elevated Command Prompt |
---|
|
C:\WINDOWS\system32\slmgr.vbs /ipk NPPR9-FWDCX-D2C8J-H872K-2YT43
C:\WINDOWS\system32\slmgr.vbs /ato |
Resources