June 23rd, 2013

PowerTip: Use PowerShell to Report Computer Performance

Doctor Scripto
Scripter

Summary: Use Windows PowerShell to report on computer performance.

Hey, Scripting Guy! Question How can I easily obtain the performance of local or remote computer by using Windows PowerShell?

Hey, Scripting Guy! Answer Query the Win32_WinSat class.

In Windows PowerShell 3.0, use the Get-CimInstance cmdlet:

Get-CimInstance Win32_WinSAT

In Windows PowerShell 1.0 or Windows PowerShell 2.0, use the Get-WmiObject cmdlet:

Get-WmiObject Win32_WinSAT

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.