Although uncertain if I'm allowed to post my own scripts here, I thought it might be useful.
I've been making batch scripts for a few months now, and although I'm not an expert at them, they are usually really complicated and, well... long.
At one point I had the idea of retrieving device ratings from PassMark and then averaging them out to get an average Personal Computer rating.
This was indeed possible (with assistance from VBScript and PowerShell) and have since made a script that, as of current, grabs GPU and HDD ratings and averages them out.
If it runs into errors, it notifies the user with the sections in which the error occurred. And then it wraps up with the average of the GPU and HDD ratings.
I'm not going to walk through the entire script because it is fairly long (21.68 KB, or around 750 lines of code), although I can answer questions about certain parts of the script.
I'm also going to note that the script is a work in progress. If it exits on its own, use the debug script linked below.
System Benchmark Retriever (Alpha 1.5): http://pastebin.com/9HH0zzQf
Batch Debug Script: http://pastebin.com/rUm1aWxb
Note: I've used lots of code written by others. If you wrote a specific part of code, feel free to let me know.
System Benchmark Retriever
Moderator: DosItHelp