Learn about Windows PowerShell
Summary: Microsoft Scripting Guy, Ed Wilson, shares his top eight tricks for achieving stellar success in this year’s Windows PowerShell Scripting Games.
Microsoft Scripting Guy, Ed Wilson, is here. OK. Today I figure you are all busy working on catching up with the first five events of the 2012 Scripting Games. You are not, you say? Well then, it is not too late. You have until 11:59 PM tomorrow night (Pacific Time (-8 GMT)) to complete Event 1. While you are at it, go ahead and knock out Events 2 through 5. Completing all five events (at the beginner level) should not take you more than a few hours of concentrated, diligent work.
If you have never competed in the Scripting Games, you are in for a treat. They are amazingly fun, but they can also be a real challenge. Here are some suggestions to help you succeed in this year’s games.
The above seven suggestions are listed in the context of the 2012 Scripting Games, but they also apply to any scripting problem that you may face at home or at work. In particular, it is important to understand the needs of the script, and how the script will work in your environment. I have found that writing down what I know and what I need to know is a great place to start when writing a custom solution. When it comes to searching for a piece of missing information that I need for a solution, I generally begin by searching the Hey, Scripting Guy! Blog. (Hey, I cannot remember everything I write). Next, I search MSDN. Finally, I will perform a search using Bing. Generally, my search takes the form of “PowerShell” plus whatever I need.
Remember, the primary goal of the 2012 Scripting Games is for you to improve your skills with Windows PowerShell. If you are already an advanced scripter when it comes to Windows PowerShell, I hope you become even more advanced. If you cannot even spell Windows PowerShell, I hope you will become familiar with Windows PowerShell and learn the basics. To do this, you may want to watch the following five-part series:
After you watch the videos, take the Windows PowerShell quizzes. The 2012 PowerShell Scripting Games Quiz relates to the Windows PowerShell for the Busy Admin series. The Windows PowerShell Basics quiz relates to the Windows PowerShell: Learn It Now Before It’s an Emergency series.
Well, that is all for today. I am going to get back to grading the scripts that have been submitted, and you can use the extra time to work on your answers or watch the videos. Join me tomorrow when the 2012 Scripting Games returns with Event 6.
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. See you tomorrow. Until then, peace.
Ed Wilson, Microsoft Scripting Guy