For your pleasure, The Old Nerdish Poem

I thought that my fellow Poshies could appreciate this. After seeing this funny post from Jaykul (Joel Bennet), I just made a quick 'n dirty piece of code, just for fun, to make your computer tell the poem.

Enjoy! (PS: the original is a lot better to listen to: The Nerdish Poem)

Add-Type -AssemblyName System.speech
$tts = New-Object System.Speech.Synthesis.SpeechSynthesizer

$poem = @('
waka waka bang splat, tick tick hash,
caret quote back tick, dollar dollar dash,
bang splat equal at, dollar under score,
percent splat, waka waka tilda number four,
ampersand bracket-bracket dot dot slash,
vertical bar curly-bracket; comma, comma, crash!
')

$tts.Speak($poem)

 

Posted in:
About the Author

Richard Diphoorn

I'm a autobot. DevOps & Automation are the future. PowerShell Addict. Make it so lover.