Learn about Windows PowerShell
Summary: Learn how (and why) to register for the 2012 Windows PowerShell Scripting Games.
Microsoft Scripting Guy, Ed Wilson, is here. Well, the 2012 Scripting Games start in six days. I found this out by using the following code:
New-TimeSpan -Start "March 27,2012" -End "April 2, 2012"
The output from the previous command returns a System.TimeSpan object, as shown in the image that follows.
At the Charlotte IT Pro Appreciation Day, I was asked again and again why someone should sign up for the 2012 Scripting Games. There are actually several reasons—all predicated on learning Windows PowerShell. (You should begin by reading Why It Is Important for IT Pros to Learn PowerShell). After you agree that you should learn Windows PowerShell, the next question is, “What is the best way to learn Windows PowerShell?” This is where the 2012 Scripting Games comes into play.
Back when I was at the University, I had a good friend who was from Cuba. Every morning, we would get up early and run before our morning classes. All semester, I kept intending to learn Spanish. We would talk about various vocabulary words as we ran, but I really did not learn much Spanish that semester. It was not until the following semester when I signed up for Spanish 101, that I really began to learn Spanish. This is because I had a vocabulary quiz each day, and therefore, I put more effort into learning.
In addition to the motivation to learn, the 2012 Scripting Games also provide recognition and feedback on your progress learning Windows PowerShell. There is also the chance to win great prizes, which include a free pass to 2012 TechEd and hundreds of other prizes.
With the 2012 Scripting Games, you will in effect, have a quiz every day for two weeks. The quiz takes the form of each Scripting Games event. This is your time to commit to learning Windows PowerShell. The ten events will give you added motivation to learn. After you have spent time creating solutions to the ten events, you will naturally want to see the ten expert solutions to the events so that you can compare your work with that of the experts. You might also want to see what your peers come up with when their solutions are revealed seven days after the event first appears.
Even if you do not sign up for the 2012 Scripting Games, you might want to take a Windows PowerShell quiz. I have two series of training videos and two Windows PowerShell quizzes. You can access the quizzes and the two video series from the Scripting with Windows PowerShell page. In addition, you should work your way through the 2012 Scripting Games Study Guide, and the study guides for the previous year’s Scripting Games. You can find the links to the study guides from 2012 Windows PowerShell Scripting Games: All Links on One page.
Now that you know why you need to sign up for the 2012 Scripting Games, I am going to ask the Scripting Wife to come help us get signed up for the games. (I would do it, but I am a judge, so it would not be fair.)
I pick up my Windows 7 phone and call the Scripting Wife. The nice thing about our phone provider is that phone-to-phone calls are free on the same service plan. So we use our Windows 7 phones sort of like an intercom or like a walkie-talkie at home. It prevents yelling—which just seems a bit rude. We also use our phones to send SMS messages to each other when we are dining out, but that is another story.
The Scripting Wife appears at the door to my office, and I greet her with an affectionate and heart felt greeting.
“I need you to come over here, so we can get you registered for the 2012 Scripting Games,” I exclaim.
“What, no ‘Hi, how are you doing?’ No ‘I have a special surprise for you today’? No nothing…just come over and get signed in,” she complained. ”How wude!”
“Sorry. Hey, why don’t you come over, I have a special surprise for you,” I said smiling.
“Too late, I already know what it is. The sign-up page for the 2012 Scripting Games is live,” she said.
“OK. You need to go to http://2012sg.poshcode.org/. When you get there, you need to click on the Log On button in the upper-right corner,” I said.
The Scripting wife typed http://2012sg.poshcode.org/ into Internet Explorer 9, and watched as the page navigated to the new PoshCode site for the 2012 Scripting Games. The 2012 Scripting Games PoshCode page appeared on her screen as follows, and she turned the monitor so I could see it.
The Scripting Wife pressed Log On and was presented with the PoshCode Multi-Protocol Authentication page that is shown here.
She then clicked the Profile button in the upper-right portion of the screen, just above the Search PoshCode box. This button is shown here.
When the Scripting Wife pressed the Profile button, the Edit Account Information page appeared. She changed her display name to ScriptingWife, and she added her Hotmail email address and the web address of her blog. She then clicked save. The Edit Account Information page is shown here.
That’s it. She then hit the Log Off button and closed Internet Explorer. The Scripting Wife is now registered for the 2012 Scripting Games. Scripting Games prep week will continue tomorrow.
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
Hi Teresa, Hi Ed,
registering for #sg2012 is really a snap!
All I can say is: "Everybody who is involved in scripting should participate in the games!" Nothing evil will happen to you!
If you miss an event ... no problem with that! You may not win the games, if you lost the opportunity to enter a special event in time or if your solution doesn't receive a 5 star rating ... but that shouldn't be a problem and it shouldn't be too disappointing, because of the olympic spirit of the games :-)
You learn form your script, from the judges and especially from the other participants who all have concentrated on the same familar tasks and you'll see dozens of different solutions that may all be a bit different approaches to solve the event with another algorithm.
Take part and learn more Powershell!
LET THE GAMES BEGIN!
Sign up and see where it will take you :-)
Count it down!
New-TimeSpan -Start (Get-Date) -End "April 2, 2012"
I just want to let everyone know, that I am in the games only for fun. I cannot win any of the prizes ...
Finally.. I find some purpose in my life again!
Oh noes, I forgot to register myself early... I've done these steps now, but i didn't get a confirmation... Is it possible to participate today or am i too late? :(
PS C:\> New-TimeSpan -Start (get-date).ToLongDateString() -End "April 2, 2012" | select days | fl
Days : 0
@CSABA yes, it is 0 day ... the 2012 Scripting Games have begun. I wish you well in this years games.
So we don't get to compete if we didn't register before April 2nd, 2012?
@Jason Milczek No, you can sign up and submit scripts at any time. In fact, now is a great time to do that because you still have six days before the first event is even due. You can register and submit scripts all at the same time, because you use the same link. So get registered, submit your scripts, and have a great time.
Is anyone else getting certificate mismatch errors on the PoshCode authentication page?
@Robert McDonnell I have been in and out of poshcode all day today, and have not seen this. Use the Contact US button on PoshCode. Joel is monitoring that for all support issues.
Thanks Ed, I'll just try it from home tonight. It looks like the SSL authentication module on PoshCode may be calling an App Harbor certificate (apphb.com). Thanks for organizing this...
@Robert McDonnel ... you might be right ... seems like I remember something like this from last year as well. You are welcome. I love the Scripting Games, and I learn a lot just like everyone else does. In fact, I have already learned at least one really useful thing!
I always get cert errors on that link to PoshCode but not when I go in directly.
The cert is for CN = *.apphb.com and the URL is
https://2012sg.poshcode.org. They don't match.
If you use
http://2012sg.poshcode.org/ thenyou won't get cert erors. Thisis what happens when a site switches to secure mode when you request https on teh wrong page. The posted link was copied from somewhere incorrectly.