OK geeks, the raffle / draw was done (and captured in video) in a geeky way, using a PowerShell script which first counted down from 30 seconds, then selected a random number between 1 and 49 (both numbers included).
The script used for draw:
Code:
Function Start-Countdown
{
Param(
[Int32]$Seconds = 30,
[string]$Message = ""
)
ForEach ($Count in (1..$Seconds))
{ Write-Progress -Id 1 -Activity $Message -Status "$($Seconds - $Count) seconds to go" -PercentComplete (($Count / $Seconds) * 100)
Start-Sleep -Seconds 1
}
Write-Progress -Id 1 -Activity $Message -Status "Completed" -PercentComplete 100 -Completed
}
Start-Countdown -Seconds 30 -Message "Shuffling the deck, announcing the winner in a few seconds..."
$Winner = Get-Random -Minimum 1 -Maximum 49
Write-Host ""
Write-Host "The winner of Macrium Home license is ticket number"$Winner
Write-Host ""
The script was run two times to pick two winning ticket numbers as seen in this screenshot:
Comparing those two ticket numbers to list of eligible participants (see end of first post), we can now announce the winners:
Congratulations both! Please PM me your first and last name and email address.
Kari