Scripting Games

Beginner Practice Event

Don Jones
1 min read
Share:

As you may be aware, we posted Practice Events for the 2013 Scripting Games, in an effort to give people an idea of what the events would look like and involve. There’s been a lively discussion in the PowerShell.org forums about the Beginner Practice, so I thought I’d weigh in. Here’s my solution:
Beginner practice event
Of course, that’s hardly the only way to go about it. I used this approach because it minimizes the use of extra variables, and doesn’t create a script-style approach - it’s a “one-liner,” although I’ve broken it across several physical lines for readability. I think it makes good use of PowerShell’s native ability to deal with multiple objects in a stream - there’s no need for a ForEach loop, here.

Related Articles

Apr 1, 2018

Iron Scripter prequels: Puzzle 10 – A commentary

This is the commentary on the last Iron Scripter prequel puzzle: Iron Scripter Prequel Puzzle 10 - A commentary Next weekend will mark the start of summit and you can work on the Iron Scripter preludes - 4 daily puzzles as a lead in to the main event on Thursday 12 April 2018. If you haven’t chosen your faction yet you need to hurry

Mar 28, 2018

Iron Scripter Prequels: Puzzle 9 – A commentary

Here’s my commentary for puzzle 9: Iron Scripter Prequel Puzzle 9 - A commentary In this puzzle you were cleaning up the TEMP folder and the recycle bin plus working with scheduled tasks and/or scheduled jobs. One more commentary to come - probably early next week rather than Sunday and then we’re into the Summit and the main event.

Mar 18, 2018

Iron Scripter Preludes and Main Event: Rules and Info

Information is now available at IronScripter.us for the at-Summit events, and participants are advised to refresh themselves on the Rules. Participants attending Summit should begin choosing their faction and getting to know their teammates in the faction-specific channels of the DevOps-Summit Slack team (open only to attendees and alumni). Participants hoping to participate remotely may wish to start choosing a faction and finding a way to get in touch with them.