Skip to content

Instantly share code, notes, and snippets.

@aldente39
Created July 4, 2012 14:05
Show Gist options
  • Save aldente39/3047518 to your computer and use it in GitHub Desktop.
Save aldente39/3047518 to your computer and use it in GitHub Desktop.
say
function say{
$a = [Reflection.Assembly]::LoadWithPartialName('System.Speech')
$message = New-Object System.Speech.Synthesis.SpeechSynthesizer
$message.Speak($args)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment