karlsnooks
Windows Specialist
- May 31, 2012
- 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
# 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