2010 Scripting Games: Beginner Event 5–Retrieving CPU Speed


2010 Scripting Games badge  Bookmark and Share

Note: We are no longer accepting entries for this event. See the due dates page for a list of all event due dates.

About This Event



Date of Event

April 30, 2010

Due Date

May 7, 2010


Event Scenario

You are getting ready to perform a migration from Windows XP to Windows 7, and your boss has asked you to determine if the computers have enough CPU speed to run Windows 7. You need only to retrieve the CPU speed of your local computer to meet the needs of this scenario.

Design Points

·         Extra points granted if your script will work on local and remote computers.

·         Your script should display the name of the computer and the CPU speed.

·         Extra points if your script reports the family and maker of the CPU.

·         You can display the output in the Windows PowerShell console or in the Windows PowerShell ISE, if you are writing in Windows PowerShell.

·         If you are writing in VBScript, you can display to either at cmd prompt or in a Windows dialog box.

·         If you choose to write to a Windows dialog box, you should write to only one dialog box, and not to multiple dialog boxes.

Sample output is seen in the following image.

Image of sample output


2010 Scripting Games Links


Ed Wilson and Craig Liebendorfer, Scripting Guys