Category Archives: Scripting Games

Iron Scripter prequels

One of the new things for Summit 2018 is the iron Scripter competition on the last afternoon. As a warm up for the competition we’re running a number of Iron Scripter prequels. A puzzle will be published every week – … Continue reading

Posted in Powershell, Scripting Games, Summit | Leave a comment

Scripting Game puzzle – – January 2016

Here’s how I’d solve the puzzle function get-starttime {    [CmdletBinding()]    param(        [parameter(                ValueFromPipeline=$true,                 ValueFromPipelineByPropertyName=$true)]        [Alias(‘CN’, ‘Computer’)]        [ValidateNotNullOrEmpty()]          [string[]]$computername = $env:COMPUTERNAME    )        PROCESS {            foreach ($computer in $computername){            $props = [ordered]@{                ComputerName = $computer                StartTime = ”                … Continue reading

Posted in PowerShell and CIM, Powershell Basics, Scripting Games | Leave a comment

2015 December Scripting Games Puzzle

The December 2015 puzzle was based on the 12 Days of Christmas song.  Starting with this here-string. $list = @”1 Partridge in a pear tree2 Turtle Doves3 French Hens4 Calling Birds5 Golden Rings6 Geese a laying7 Swans a swimming8 Maids … Continue reading

Posted in Powershell Basics, Scripting Games | Leave a comment

Scripting Games September 2015

The puzzle for September is here http://powershell.org/wp/2015/09/05/september-2015-scripting-games-puzzle/ with the write up published here http://powershell.org/wp/2015/10/03/2015-september-scripting-games-wrap-up/ Personally I don’t like the approach as it leads to code that’s difficult to read and maintain. I much prefer a simpler more verbose approach that … Continue reading

Posted in Powershell, Scripting Games | Leave a comment

Scripting Games–August 2015

The August 2015 Scripting Games puzzle was a simple ‘get data from a web service’ request. You had to retrieve data from a given web service £> Invoke-RestMethod -Uri ‘http://www.telize.com/geoip’ | Select-Object -Property  longitude, latitude, continent_code, timezone longitude latitude continent_code … Continue reading

Posted in Powershell, Scripting Games | Leave a comment

Scripting Games July 12015 thoughts on the solution

The July 2015 puzzle can be found here: http://powershell.org/wp/2015/07/04/2015-july-scripting-games-puzzle/ Write a one-liner that produces the following output (note that property values will be different from computer to computer; that’s fine).  Write a one-liner that produces the following output (note that … Continue reading

Posted in Powershell Basics, Scripting Games | Leave a comment

Scripting Games July 2015 puzzle

Head over to http://powershell.org/wp/2015/07/04/2015-july-scripting-games-puzzle/ for our inaugural Scripting Games puzzle. I’ll publish a solution at the end of the month

Posted in Powershell, powershell.org, Scripting Games | Leave a comment

Scripting Games

See what’s happening with the Scripting Games –  http://blogs.technet.com/b/heyscriptingguy/archive/2015/06/27/powershell-spotlight-yeah-it-s-the-scripting-games.aspx   Thank about the requirements and offer to help as outlined in the article.

Posted in Scripting Games | Leave a comment

The next Scripting Games

No – we’re not announcing the start of the next games just yet. There is however a chance for you to shape the next games – head over to http://powershell.org/wp/2014/02/17/what-should-the-scripting-games-look-like-next-time/ and tell us what you would like to see in … Continue reading

Posted in Scripting Games | Leave a comment

Countdown to the Scripting Games–32 days and counting

The countdown to the Winter 2014 Scripting Games has started. Officially starting at 1am (UTC or GMT) 19 January 2014 the following dates should be noted: 2 January 2014 – registration opens 6 January 2014 – a practice event becomes … Continue reading

Posted in Scripting Games | Leave a comment