RosettaCodeData/Task/Speech-synthesis/PowerShell/speech-synthesis.psh
2016-12-05 22:15:40 +01:00

6 lines
175 B
Text

Add-Type -AssemblyName System.Speech
$anna = New-Object System.Speech.Synthesis.SpeechSynthesizer
$anna.Speak("I'm sorry Dave, I'm afraid I can't do that.")
$anna.Dispose()