2012 Scripting Games Advanced Event 5: List Errors
Summary: In Advanced Event 5, you will produce a report that lists the number of errors from all the traditional logs on a particular server.
About this event
Date of Event
4/6/2012 12:01 AM
4/13/2012 12:01 AM
You are an analyst on the server team of a medium-sized organization. You are studying the performance and reliability of various servers on the network, and you decide to produce a report that lists the number of errors from all the traditional logs on a particular server. The code you use should be capable of running against a local computer or against an arbitrary number of remote computers. An acceptable output is shown here.
- You will use impersonation for all remote connections, so you do not need to be able to supply credentials.
- You should not display errors due to permissions or due to no events matching your filter.
- You should not make changes to the users’ environment. If you do, you should change them back at the end of the script. Modification to the users’ environment following script completion will cost you points.
- Your script should run without prompting against the local computer.
- Your output should be organized such that the largest source of errors appears at the top of the output.
2012 Scripting Games links
I invite you to follow me on Twitter and Facebook. If you have any questions, send email to me at email@example.com, 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