By adding a new system type called System.Speech, you can make PowerShell speak out loudly:
Add-Type -AssemblyName System.Speech
$voice = New-Object -TypeName System.Speech.Synthesis.SpeechSynthesizer
$voice.Speak('Hey, it's Powershell, I can speak!')
You must be logged in to post a comment.