Displaying Windows Experience Index Rating in PowerShell

Windows Experience Index, first introduced in Windows Vista, is a measurement that tells you how well your PC works with Windows and uses a base score to rate the experience you can expect. Each piece of hardware gets its own score, called subscore. The lowest subscore determines the total base score. Because of this, don’t be so serious about this number. The lower score in total doesn’t necessarily mean the poorer computer performance in general.

To view your PC’s base score, go to Control Panel → System and Security → System, and click “Windows Experience Index” to open Performance Information and Tools screen (Figure 1).

Figure 1

Figure 1

Now, let’s back to the main topic and see how we can use PowerShell to display the same information.

Open PowerShell, and run the following cmdlet to query the Win32_WinSat class.

Get-CimInstance Win32_WinSat in PowerShell 3.0 or

Get-WmiObject Win32_WinSat in PowerShell 1.0 and 2.0

And see the result in Figure 2.

Figure 2 - Get-CimInstance and Get-WmiObject cmdlets

Figure 2 – Get-CimInstance and Get-WmiObject cmdlets

Kent Chen

Microsoft MVP, IT Professional, Developer, Geek, and the co-founder of Next of Windows.

Last updated: 08/04/2014

Posted in: Tips & Tricks
Discover more: ,