Windows System Assessment Tool
(WINSAT), is a free benchmarking tool that measures various performance
characteristics and capabilities of a computer running in Windows Vista
and Windows Server 2008. The ratings are displayed as Windows
Experience Index or WEI score.
How to get the WEI score of a Network Computer running in Windows Vista? Use Vbscript to access the new WMI class, Win32_WinSAT, that can retrieve system assessment information from ANY Windows Vista computer. Sadly, for Windows Vista only.
If you don't understand the above explanation, don't mind about it, just follow the steps below.
1. Open the notepad and paste the code below.
strCompName
= Inputbox("Get Hardware Performance Ratings" & vbcrlf & "of a
Remote computer," & vbcrlf & "Input the Computer Name:") Set objWMIservices = GetObject("winmgmts:\\" & strCompName & "\root\cimv2") Set colWSA = objWMIservices.ExecQuery("Select * From Win32_WinSAT") For Each objItem in colWSA Wscript.Echo "Hardware Performance Ratings" Wscript.Echo "Processor : " & objItem.CPUScore Wscript.Echo "Memory: " & objItem.MemoryScore Wscript.Echo "Graphics: " & objItem.GraphicsScore Wscript.Echo "Gaming graphics: " & objItem.D3DScore Wscript.Echo "Primary hard disk: " & objItem.DiskScore next |
File menu->Save As->Select ALL Files->type "GetWinSAT.vbs"
If you enter a wrong computer name, it will display an error.
Error: The remote server machine does not exist or is unavailable: 'GetObject'
Enjoy!
0 comments: