Skip to content

Instantly share code, notes, and snippets.

@Lucy-vP
Created December 22, 2021 11:06
Show Gist options
  • Save Lucy-vP/30a847dc1ffa90ee41c7d2ef36f6f487 to your computer and use it in GitHub Desktop.
Save Lucy-vP/30a847dc1ffa90ee41c7d2ef36f6f487 to your computer and use it in GitHub Desktop.
$global:counter = 0
function SnowFlake ($toomuch) {
$counter++
' ' * (Get-Random -Minimum 0 -Maximum 42) + '*'
sleep -m 100
if ($counter -ge $toomuch ) { break }
SnowFlake $toomuch
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment