2010 Scripting Games: Beginner Event 5–Retrieving CPU Speed
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
May 7, 2010
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.
· 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.
2010 Scripting Games Links
Ed Wilson and Craig Liebendorfer, Scripting Guys