PowerTip: Check Windows 8 Edition by Using PowerShell 3.0

PowerTip: Check Windows 8 Edition by Using PowerShell 3.0

Rate This
  • Comments 2

Summary: Use Windows PowerShell 3.0 to determine the specific edition of Windows 8 running on your computer.

Hey, Scripting Guy! Question Using Windows PowerShell 3.0 in Windows 8, how can you determine the edition of Windows that is installed?

Hey, Scripting Guy! Answer Use the Get-WindowsEdition cmdlet with the Online switch:

           Get-WindowsEdition -Online

 

Leave a Comment
  • Please add 6 and 7 and type the answer here:
  • Post
  • Good stuff, if you want to throw this directly to string the complete command becomes:

    (Get-WindowsEdition -Online).Edition

  • When I do the command "Get-WindowsEdition -online" i receive an error stating "Get-WindowsEdition: an attempt was made to load a program with an incorrect format."

    Any idea?

Page 1 of 1 (2 items)