Learn about Windows PowerShell
I thought I was doing well in the 2010 Scripting Games, but as of yesterday, I have dropped down into the mid 40s on the leaderboard. Of course, I am not a real scripter, and I have only been doing this for a few weeks. So the results are not surprising.
My submission for Beginner Event 8 ended up taking me more time than I had anticipated. It seems that this week the Games are a bit more difficult than they were last week. I thought I would be able to use the Get-Process cmdlet when I first saw the event, but then it seems I could not find the owner of the process by using that cmdlet. When I realized that I could not use the Get-Process cmdlet, I was in a blue funk for about two minutes before I remembered the Script Monkey’s mantra: “Use MSDN.” So, I went to MSDN, typed “Get Process Owner” in the Bing search box on the home page, and like magic I found exactly what I needed in the first two results. Sometimes it seems that the Microsoft Scripting Guy actually knows what he is talking about.
After I found out how I was going to find the process owner information, it was pretty simple. Just pipe the results to a few different cmdlets and everything’s cool.
As it turned out, the turkey was still frozen yesterday, so I ended up conning the Script Monkey into cooking on the grill, which means all I had to do was set the table. Hmmm, maybe I will return the turkey to the freezer for a few more days. Nah. I need to e-mail this to Ed so can send it to Craig for editing and posting. It is starting to get hot and humid down here now, so I think I am going to go ahead and put the turkey in the oven and head out to the library for a while. Maybe I will get an Italian ice as well. I hope you have a great day. See ya!
Microsoft Scripting Guy Ed Wilson here. Today is Day 8 of the 2010 Scripting Games. The events have almost all been revealed. Keep in mind you still have nine days (including the weekend) to finish your submissions. Event 3 is due today at 11:59 P.M. Pacific Time. Event 4 is due tomorrow. Event 5 is due Friday. And Events 6–10 are due next week, Monday through Friday respectively.
Check out the due dates page for more information. Let me invite you to keep up with the 2010 Scripting Games by following us on Twitter or Facebook. If you have any questions during the Games, send e-mail to us at firstname.lastname@example.org or post your questions on the 2010 Scripting Games Forum. See you tomorrow. Until then, peace.
Ed Wilson and Craig Liebendorfer, Scripting Guys