The 2011 Scripting Games Beginner Event 1: Use PowerShell to Identify Private Builds of Software
Summary: Beginner Event 1 of the 2011 Scripting Games uses Windows PowerShell to identify private or public builds of software.
About this event
Date of Event
4/4/2011 12:01 AM
4/11/2011 12:01 AM
You are the network administrator for a large multinational company with a Premier Services Contract with the Microsoft Corporation. Because of your contract, you have received a private build of a specific application that has a compatibility issue with your custom application. In preparation for your server upgrade to Service Pack 1 for Windows Server 2008 R2, your boss has asked you to identify which servers are running this private build of the application. For the purposes of this scenario, you can use the notepad.exe process. You should report the computer name, the process name (Notepad) and whether or not Notepad is a private build. You must report the actual computer name and not something generic like “localhost” because this will facilitate logging later.
The minimum requirement is code to determine if Notepad is a private build or not. Additional information in the output is not acceptable due to logging requirements. An acceptable output is shown here.
- Extra points for the ability to scan more than one computer
- Extra points for the ability to scan for programs other than Notepad
- Extra points for reusable code
2011 Scripting Games links
I invite you to follow me on Twitter and Facebook. If you have any questions, send email to me at firstname.lastname@example.org, or post your questions on the Official Scripting Guys Forum. Good luck as you compete in this year’s Scripting Games. We wish you well.
Ed Wilson, Microsoft Scripting Guy