2010 Scripting Games: Beginner Event 4–Retrieving an Environmental Variable


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 29, 2010

Due date

May 6, 2010


Event Scenario

You are using the MSI provider to install a software package, and you need to ensure that the computer upon which the package will install has at least two processors. For this software package, virtual processors are acceptable; therefore, a processor that uses hyperthreading will suffice. Your boss, for some reason, has mandated that you are not allowed to use WMI to retrieve this information. He did say that if you could find an environmental variable that provides the information, that would satisfy his requirements. To this end, he has provided the screen shot shown in the following image.

Image of an environmental variable


2010 Scripting Games Links


Ed Wilson and Craig Liebendorfer, Scripting Guys