WIN 8 LICENSE INFO USING POWERSHELL

karlsnooks

Windows Specialist
Joined
May 31, 2012
Posts
94
# Use CTRL+A and CTRL+C to copy this script
# Run PowerShell
# Use RIGHT-CLICK to paste into PowerShell
#
# Your Win 8 license
# ------------------
Gwmi SoftwareLicensingProduct | ? { $_.LicenseStatus -eq 1 } | Select LicenseFamily, Description | ft -auto
# ---------------
# for the curious
# ---------------
Gwmi SoftwareLicensingProduct | Select Description, LicenseFamily, LicenseStatus | ft -auto
gwmi SoftwareLicensingProduct | ? { $_.LicenseStatus -eq 1 } |
select PSComputerName, Description, EvaluationEndDate, ExtendedGrace, `
GenuineStatus, GracePeriodRemaining, ID, LicenseFamily, LicenseIsAddOn, `
LicenseStatus, Name, PartialProductKey, ProductKeyID, TrustedTime, `
UseLicenseURL, ValidationURL, VLActivationInterval, VLActivationType

# type EXIT, hit ENTER to close PowerShell
 
Comments for how to run powershell should be excluded from this script in my opinion :lol:

It's not necessary to provide a form of minimal documentation within a script commented out.
 
Back
Top